Skip to content

The agent that grows with you

Revert "test(desktop): read the session-scoped tab id in the tombstone test"

teknium1c1946935be96
diff --git a/apps/desktop/src/store/preview.test.ts b/apps/desktop/src/store/preview.test.ts
index 19629e5edee..06b5d322e7b 100644
--- a/apps/desktop/src/store/preview.test.ts
+++ b/apps/desktop/src/store/preview.test.ts
@@ -363,8 +363,7 @@ describe('preview store', () => {
it('tombstones a confirmed-missing tab in place without closing it', () => {
openPreview(fileTarget('/work/demo.html'))
openPreview(fileTarget('/work/keep.html'))
- // File tab ids are session-scoped; read the real one instead of rebuilding it.
- const demoId = $previewTabs.get().find(tab => tab.target.url === fileTarget('/work/demo.html').url)!.id
+ const demoId = 'file:file:///work/demo.html'
markPreviewTabMissing(demoId)