Skip to content

Commit fa3c9da

Browse files
committed
test(svelte-query/createQuery): fix 'advanceTimersByTimeAsync' to 101 to match 'staleTime: 100'
1 parent e87f1aa commit fa3c9da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/svelte-query/tests/createQuery.svelte.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ describe('createQuery', () => {
13311331
states2.push({ ...secondQuery })
13321332
})
13331333

1334-
await vi.advanceTimersByTimeAsync(11)
1334+
await vi.advanceTimersByTimeAsync(101)
13351335
expect(firstQuery).toMatchObject({ data: 'two', isStale: true })
13361336
expect(secondQuery).toMatchObject({ data: 'two', isStale: true })
13371337

0 commit comments

Comments
 (0)