Skip to content

Commit c69438a

Browse files
committed
test(mutation): repoint the indirect-ownership pin at a chain that still exists
#2499 took `scroll-edge-state` out of the interaction runtime's imports, which left the indirect-ownership example naming a test that no longer reaches that kernel, and the model gate only noticed when a recording change made it runnable again. `back-runtime.test.ts` reaches edge detection through the daemon without importing the kernel file, so the omission this assertion exists to catch is still asserted.
1 parent 0f9b113 commit c69438a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/mutation/ownership.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ test('a kernel is owned by tests that reach it indirectly', () => {
3838
'daemon-error.test.ts exercises normalizeError but does not own kernel-errors',
3939
);
4040
assert.ok(
41-
deriver
42-
.ownersOf('src/commands/interaction/runtime/gestures.test.ts')
43-
.includes('scroll-edge-state'),
41+
deriver.ownersOf('src/daemon/__tests__/back-runtime.test.ts').includes('scroll-edge-state'),
42+
'back-runtime.test.ts exercises edge detection but does not own scroll-edge-state',
4443
);
4544
});
4645

0 commit comments

Comments
 (0)