From 2b86291ecddd672448db364730b292ecde9993af Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sun, 21 Jun 2020 23:19:07 +0800 Subject: [PATCH] test: longer timeout --- jest.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jest.config.js b/jest.config.js index 3e618e4..1871518 100644 --- a/jest.config.js +++ b/jest.config.js @@ -158,6 +158,8 @@ module.exports = { // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href // testURL: "http://localhost", + testTimeout: 20000, + // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout" // timers: "real",