fix(webworker-runtime): restore v1 title cache fixture
This commit is contained in:
parent
5c9ca1f25b
commit
f6d4f2149d
3 changed files with 5 additions and 29 deletions
|
|
@ -13,17 +13,9 @@
|
|||
},
|
||||
"rows": {
|
||||
"title": {
|
||||
"ver": 2,
|
||||
"ver": 1,
|
||||
"seq": 198,
|
||||
"val": {
|
||||
"title": "WebWorker Preview Showcase",
|
||||
"messageSeqs": [],
|
||||
"source": {
|
||||
"kind": "user"
|
||||
},
|
||||
"eventSeq": 2,
|
||||
"updatedAt": 1787472000002
|
||||
}
|
||||
"val": "WebWorker Preview Showcase"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,14 +64,8 @@ describe('WebWorker preview VFS example', () => {
|
|||
identity: { createdAt: 1_787_472_000_000, cwd: '/dsh/workspace' },
|
||||
rows: {
|
||||
title: {
|
||||
ver: 2,
|
||||
val: {
|
||||
title: VFS_EXAMPLE_TITLE,
|
||||
messageSeqs: [],
|
||||
source: { kind: 'user' },
|
||||
eventSeq: 2,
|
||||
updatedAt: 1_787_472_000_002,
|
||||
},
|
||||
ver: 1,
|
||||
val: VFS_EXAMPLE_TITLE,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
|
|
@ -396,17 +396,7 @@ export function buildVfsExampleFiles(): ReadonlyMap<string, string> {
|
|||
[VFS_EXAMPLE_SESSION_IDS.main]: {
|
||||
identity: { createdAt: CREATED_AT, cwd: WORKSPACE },
|
||||
rows: {
|
||||
title: {
|
||||
ver: 2,
|
||||
seq: main.events.at(-1)?.seq ?? -1,
|
||||
val: {
|
||||
title: VFS_EXAMPLE_TITLE,
|
||||
messageSeqs: [],
|
||||
source: { kind: 'user' },
|
||||
eventSeq: 2,
|
||||
updatedAt: CREATED_AT + 2,
|
||||
},
|
||||
},
|
||||
title: { ver: 1, seq: main.events.at(-1)?.seq ?? -1, val: VFS_EXAMPLE_TITLE },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue