import { describe, expect, it } from "vitest"; import { trajectoryPath } from "./ScumMapTrajectoryPanel"; describe("trajectoryPath", () => { it("projects normalized map points into a stable SVG path", () => { expect(trajectoryPath([{ mapX: 0, mapY: 0 }, { mapX: 500, mapY: 250 }, { mapX: 1000, mapY: 1000 }])).toBe("M0,1000 L500,750 L1000,0"); }); });