Skip to content

Commit aa84bb7

Browse files
committed
WIP
1 parent 6294cf2 commit aa84bb7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/fixtures/makeCapqcityNode.ts renamed to tests/fixtures/makeCapacityMeshNodeWithLayerInfo.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import type { Rect } from "graphics-debug"
2-
import type { RectDiffPipeline } from "lib/RectDiffPipeline"
2+
import type { CapacityMeshNode } from "lib/types/capacity-mesh-types"
33
import { getColorForZLayer } from "lib/utils/getColorForZLayer"
44

5-
type MeshNodes = ReturnType<RectDiffPipeline["getOutput"]>["meshNodes"]
6-
75
export const makeCapacityMeshNodeWithLayerInfo = (
8-
nodes: MeshNodes,
6+
nodes: CapacityMeshNode[],
97
): Map<string, Rect[]> => {
108
const map = new Map<string, Rect[]>()
119

tests/solver/rectDiffGridSolverPipeline.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
type Rect,
88
} from "graphics-debug"
99
import { RectDiffPipeline } from "lib/RectDiffPipeline"
10-
import { makeCapacityMeshNodeWithLayerInfo } from "tests/fixtures/makeCapqcityNode"
10+
import { makeCapacityMeshNodeWithLayerInfo } from "tests/fixtures/makeCapacityMeshNodeWithLayerInfo"
1111

1212
test("RectDiffPipeline mesh layer snapshots", async () => {
1313
const solver = new RectDiffPipeline({

0 commit comments

Comments
 (0)