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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user