UNPKG

shortest-path

Version:

A TypeScript library that implements the A* (A-star) pathfinding algorithm to find the shortest path on a grid.

11 lines (9 loc) 247 B
const { createDefaultPreset } = require("ts-jest"); const tsJestTransformCfg = createDefaultPreset().transform; /** @type {import("jest").Config} **/ module.exports = { testEnvironment: "node", transform: { ...tsJestTransformCfg, }, };