Skip to content

Commit 3a993e6

Browse files
test(svelte-query/createQuery): switch to fake timers, replace 'vi.waitFor' with 'vi.advanceTimersByTimeAsync', and move 'queryClient' to 'beforeEach' (#10390)
* test(svelte-query/createQuery): switch to fake timers, replace 'vi.waitFor' with 'vi.advanceTimersByTimeAsync', and move 'queryClient' to 'beforeEach' * test(svelte-query/createQuery): use 'QueryCache' type instead of 'ReturnType' for 'queryCache' * ci: apply automated fixes * test(svelte-query/createQuery): reduce 'advanceTimersByTimeAsync' from 100 to 11 for staleTime test * test(svelte-query/createQuery): fix 'advanceTimersByTimeAsync' to 101 to match 'staleTime: 100' --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent fcaa1d2 commit 3a993e6

File tree

1 file changed

+176
-157
lines changed

1 file changed

+176
-157
lines changed

0 commit comments

Comments
 (0)