test(web): use string memory ids in the Room fixtures (P1.5)

Memory ids from the memory contract are strings; the Room tests still
built memory refs with numeric frame ids and failed the app typecheck.
This commit is contained in:
shumeiko.it
2026-10-24 13:22:27 +02:00
parent d433dca857
commit bde961abcf
3 changed files with 5 additions and 5 deletions

View File

@@ -244,7 +244,7 @@ describe('durable collaboration runs', () => {
revision: 2,
completedAt: new Date(NOW + 1_000).toISOString(),
result: { summary: 'Finished' },
memoryRefs: { status: 'complete' as const, personalFrameIds: [1], workspaceFrameIds: { ws1: [2] } },
memoryRefs: { status: 'complete' as const, personalFrameIds: ['mem-1'], workspaceFrameIds: { ws1: ['mem-2'] } },
};
const next = applyRunEvent(hydrated, {
seq: 10, type: 'upsert', run: completed, timestamp: new Date(NOW + 1_000).toISOString(),