Skip to content

Commit

Permalink
test: make a config callback test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Mar 14, 2021
1 parent 149192f commit 16058d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/use-swr-config-callbacks.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('useSWR - config callbacks', () => {
})

it('should trigger the onLoadingSlow and onSuccess event with the lastest version of the callbacks', async () => {
const LOADING_TIMEOUT = 5
const LOADING_TIMEOUT = 100
let state = null
let count = 0

Expand Down

0 comments on commit 16058d2

Please sign in to comment.