diff --git a/algos/multi-layer-ijump/tests/repros/__snapshots__/repro2-pcb.snap.svg b/algos/multi-layer-ijump/tests/repros/__snapshots__/repro2-pcb.snap.svg index 00a5576..459c59c 100644 --- a/algos/multi-layer-ijump/tests/repros/__snapshots__/repro2-pcb.snap.svg +++ b/algos/multi-layer-ijump/tests/repros/__snapshots__/repro2-pcb.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - \ No newline at end of file + \ No newline at end of file diff --git a/algos/multi-layer-ijump/tests/repros/__snapshots__/repro3-pcb.snap.svg b/algos/multi-layer-ijump/tests/repros/__snapshots__/repro3-pcb.snap.svg deleted file mode 100644 index 00a5576..0000000 --- a/algos/multi-layer-ijump/tests/repros/__snapshots__/repro3-pcb.snap.svg +++ /dev/null @@ -1,13 +0,0 @@ - \ No newline at end of file diff --git a/algos/multi-layer-ijump/tests/repros/repro2.test.tsx b/algos/multi-layer-ijump/tests/repros/repro2.test.tsx index 4d7bd77..2fc47bf 100644 --- a/algos/multi-layer-ijump/tests/repros/repro2.test.tsx +++ b/algos/multi-layer-ijump/tests/repros/repro2.test.tsx @@ -20,6 +20,7 @@ test("repro2 path-loop-fails on single-trace sample 9 no loop removal", async () // Compare results expect(solution).toHaveLength(1) - expect(solution as any).toMatchPcbSnapshot(import.meta.path) - expect(solution).toMatchPcbSnapshot(import.meta.path) + expect([ + { type: "pcb_board", width: 40, height: 40, center: { x: 0, y: 0 } }, + ]).toMatchPcbSnapshot(import.meta.path) }) diff --git a/algos/multi-layer-ijump/tests/repros/repro3.test.tsx b/algos/multi-layer-ijump/tests/repros/repro3.test.tsx index 6db2e86..9cd4e7d 100644 --- a/algos/multi-layer-ijump/tests/repros/repro3.test.tsx +++ b/algos/multi-layer-ijump/tests/repros/repro3.test.tsx @@ -19,6 +19,4 @@ test("repro2 path-loop-fails on single-trace sample 9 with loop removal", async // Compare results expect(solution).toHaveLength(1) - - expect(solution as any).toMatchPcbSnapshot(import.meta.path) })