Skip to content

Commit 8ed2225

Browse files
committed
test(depgraph): focus chord fixture on value-cycle selection
1 parent 98b6e83 commit 8ed2225

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/depgraph/model.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,12 @@ test('collectCycles separates gate-rejected value cycles from type-only and dyna
372372
);
373373
});
374374

375-
test('collectCycles keeps the representative and edge kinds for a chorded three-file SCC', () => {
375+
test('collectCycles keeps the value-cycle representative for a chorded three-file SCC', () => {
376376
const edges = resolveImportEdges(
377377
sources({
378378
'src/core/a.ts': "import './b.ts';\nimport './c.ts';",
379379
'src/core/b.ts': "import './c.ts';",
380-
'src/core/c.ts': "import './a.ts';\nimport type { B } from './b.ts';\nvoid import('./b.ts');",
380+
'src/core/c.ts': "import './a.ts';",
381381
}),
382382
);
383383
assert.deepEqual(collectCycles(edges), [

0 commit comments

Comments
 (0)