Skip to content

Commit 7a3990e

Browse files
authored
test(solid-query/useQuery): migrate to fake timers, replace 'waitFor' with 'advanceTimersByTimeAsync', and improve 'queryFn' patterns (#9894)
* test(solid-query/useQuery): migrate to fake timers with 'advanceTimersByTimeAsync', add 'expect().toBeInTheDocument()', convert sync 'queryFn' to 'sleep().then()', and add detailed timing comments * test(solid-query/useQuery): replace 'async/await' with 'sleep().then()' pattern in queryFn * refactor(solid-query/useQuery.test): convert complex 'then' callbacks to async/await pattern
1 parent 2be25ca commit 7a3990e

File tree

1 file changed

+762
-748
lines changed

1 file changed

+762
-748
lines changed

0 commit comments

Comments
 (0)