Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,16 @@ projectionSnapshotLayer("ProjectionSnapshotQuery", (it) => {
"None",
);
assert.deepEqual(yield* snapshotQuery.getDeletedWorktreeThreads(), []);
const archivedOnlyShell = yield* snapshotQuery.getShellSnapshot();
assert.deepEqual(archivedOnlyShell.threads, []);
assert.deepEqual(
archivedOnlyShell.projects.map((project) => project.id),
[ProjectId.make("project-archive-test")],
);
assert.deepEqual(
(yield* snapshotQuery.getArchivedShellSnapshot()).projects.map((project) => project.id),
[ProjectId.make("project-archive-test")],
);
yield* sql`
UPDATE projection_threads
SET branch = 'retained-branch', worktree_path = '/tmp/archived-worktree',
Expand Down
180 changes: 0 additions & 180 deletions apps/web/src/archiveProjectFiltering.test.ts

This file was deleted.

113 changes: 0 additions & 113 deletions apps/web/src/archiveProjectFiltering.ts

This file was deleted.

Loading