From 16058d2f7dcaa1f332da3e946df0f84919bddd08 Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Sun, 14 Mar 2021 22:42:32 +0900 Subject: [PATCH] test: make a config callback test more reliable --- test/use-swr-config-callbacks.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/use-swr-config-callbacks.test.tsx b/test/use-swr-config-callbacks.test.tsx index 22a146c1c..bf9d9a8d3 100644 --- a/test/use-swr-config-callbacks.test.tsx +++ b/test/use-swr-config-callbacks.test.tsx @@ -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