Skip to content

Commit 8f4ea82

Browse files
committed
Fix 3 flaky tests
1 parent a966f17 commit 8f4ea82

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/desktop/src/lib/ai/ai-state.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('ai-state', () => {
4141
expect(state.notificationState).toBe('hidden')
4242
expect(state.downloadProgress).toBeNull()
4343
expect(state.progressText).toBe('')
44-
})
44+
}, 15_000)
4545
})
4646

4747
describe('initAiState', () => {

apps/desktop/src/lib/licensing/licensing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('licensing-store', () => {
3838
it('returns null before status is loaded', async () => {
3939
const { getCachedStatus } = await loadStore()
4040
expect(getCachedStatus()).toBeNull()
41-
})
41+
}, 15_000)
4242
})
4343

4444
describe('loadLicenseStatus', () => {

apps/desktop/src/lib/mtp/mtp-store.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('mtp-store', () => {
7979
const { getDevices, isInitialized } = await loadModule()
8080
expect(getDevices()).toEqual([])
8181
expect(isInitialized()).toBe(false)
82-
})
82+
}, 15_000)
8383

8484
it('has no connected devices initially', async () => {
8585
const { hasConnectedDevices, getConnectedDevices } = await loadModule()

0 commit comments

Comments
 (0)