From 87d7fc764cd213a5b6dc2fe8825301f04986270b Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Mon, 10 Aug 2026 18:27:41 -0700 Subject: [PATCH] test(workspaces): preserve cleanup scan modes --- .../src/store/slices/workspace-cleanup-scan-progress.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/store/slices/workspace-cleanup-scan-progress.test.ts b/src/renderer/src/store/slices/workspace-cleanup-scan-progress.test.ts index 2ac29470f69..f4449da95ed 100644 --- a/src/renderer/src/store/slices/workspace-cleanup-scan-progress.test.ts +++ b/src/renderer/src/store/slices/workspace-cleanup-scan-progress.test.ts @@ -552,7 +552,7 @@ describe('workspace cleanup scan progress', () => { expect(store.getState().workspaceCleanupScan).toMatchObject(secondResult) }) - it('does not join legacy and full-workspace broad scans', async () => { + it('does not join suggestion-only and full-workspace broad scans', async () => { const legacyPending = deferred() const fullPending = deferred() const scan = vi.fn((args?: { includeAllWorkspaces?: boolean }) => @@ -561,7 +561,7 @@ describe('workspace cleanup scan progress', () => { installWorkspaceCleanupApi(scan) const store = createCleanupTestStore() - const legacy = store.getState().scanWorkspaceCleanup() + const legacy = store.getState().scanWorkspaceCleanup({ includeAllWorkspaces: false }) const full = store.getState().scanWorkspaceCleanup({ includeAllWorkspaces: true }) expect(scan).toHaveBeenCalledTimes(2)