mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
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:
+2
@@ -6,6 +6,8 @@ const ce = (source: string, target: string, type: EdgeType = "calls"): GraphEdge
|
||||
source,
|
||||
target,
|
||||
type,
|
||||
direction: "forward",
|
||||
weight: 1,
|
||||
});
|
||||
|
||||
describe("aggregateContainerEdges", () => {
|
||||
|
||||
Reference in New Issue
Block a user