fix(dashboard): complete the GraphEdge test fixture

Earlier review fix-up dropped the `as GraphEdge` cast but didn't add
the `direction` and `weight` fields, breaking `tsc -b`. Tests still
passed because vitest doesn't typecheck. Add the missing fields so
the dashboard build is green again.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-05-03 16:08:52 +08:00
Unverified
parent 00a75c27db
commit a9b614ae2d
@@ -6,6 +6,8 @@ const ce = (source: string, target: string, type: EdgeType = "calls"): GraphEdge
source,
target,
type,
direction: "forward",
weight: 1,
});
describe("aggregateContainerEdges", () => {