Skip to content

Commit 7e5626f

Browse files
committed
test(spec): read the normalized stack's data key through a record type
Claude-Session: https://claude.ai/code/session_01QSeKYoLud3xhDCWLSM6HSE Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7f68986 commit 7e5626f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/spec/src/migrations/semantic-relevance-coverage-38929.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ describe('seeds the stack\'s own manifest declares keep their notices, through t
467467
},
468468
{ convert: false },
469469
);
470-
expect(stack.data).toBeUndefined(); // the load pass does not lift it: the evaluator must read it where it is
470+
expect((stack as Record<string, unknown>).data).toBeUndefined(); // the load pass does not lift it: the evaluator must read it where it is
471471
const result = applyMetaMigrations(stack, 18, 19);
472472
for (const id of SEED) expect(ids(result.absentTodos), id).not.toContain(`19:${id}`);
473473
for (const id of SEED) expect(ids(result.todos), id).toContain(`19:${id}`);

0 commit comments

Comments
 (0)