diff --git a/apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx b/apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx index 7d043eea672..8a29c55de9c 100644 --- a/apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx +++ b/apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx @@ -1,5 +1,5 @@ -import { type FC, useMemo } from 'react' import { useStore } from '@nanostores/react' +import { type FC, useMemo } from 'react' import { useSessionView } from '@/app/chat/session-view' import { deriveChangedFiles } from '@/components/assistant-ui/thread/changed-files' diff --git a/apps/desktop/src/store/coding-status.test.ts b/apps/desktop/src/store/coding-status.test.ts index e73069ec4c5..aa731c5b253 100644 --- a/apps/desktop/src/store/coding-status.test.ts +++ b/apps/desktop/src/store/coding-status.test.ts @@ -8,8 +8,8 @@ import { $repoStatusLoading, _resetCodingStatusForTests, refreshAllRepoStatuses, - registerRepoStatusCwd, refreshRepoStatus, + registerRepoStatusCwd, repoStatusForCwd } from './coding-status' import { $currentCwd, $selectedStoredSessionId } from './session' diff --git a/apps/desktop/src/store/review.test.ts b/apps/desktop/src/store/review.test.ts index 050981d9d04..3cf9acbdf66 100644 --- a/apps/desktop/src/store/review.test.ts +++ b/apps/desktop/src/store/review.test.ts @@ -252,6 +252,7 @@ describe('view state', () => { const review = stubReview({ list: vi.fn(async () => ({ files: [file('tile.ts')] })) }) + openReview('/tile-worktree') expect($reviewOpen.get()).toBe(true) expect($reviewScopeCwd.get()).toBe('/tile-worktree') @@ -279,6 +280,7 @@ describe('view state', () => { const review = stubReview({ list: vi.fn(async (cwd: string) => ({ files: [file(cwd === '/tile' ? 'tile.ts' : 'main.ts')] })) }) + openReview('/tile') await Promise.resolve() await Promise.resolve()