Skip to content

Commit 286ba68

Browse files
committed
test: remove outdated tests
With new DFS scan, we don't have reverseNodeDependencies any more
1 parent 62dd36e commit 286ba68

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/shared/src/openApi/shared/utils/__tests__/graph.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,5 @@ describe('buildGraph', () => {
6262

6363
expect(Array.from(graph.subtreeDependencies.get(a)!).sort()).toEqual([b].sort());
6464
expect(Array.from(graph.transitiveDependencies.get(a)!).sort()).toEqual([b].sort());
65-
// reverseNodeDependencies should record that b is referenced by the property child as well
66-
expect(graph.reverseNodeDependencies.get(b)).toBeDefined();
67-
expect(Array.from(graph.reverseNodeDependencies.get(b)!).some((p) => p.startsWith(a))).toBe(
68-
true,
69-
);
7065
});
7166
});

0 commit comments

Comments
 (0)