From 60c3403c2542576de645f26ba1e55177b6e82961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr> Date: Tue, 29 Nov 2022 11:05:50 +0100 Subject: [PATCH] bigger timeout for hook --- setupJest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupJest.js b/setupJest.js index 495739b..758abb5 100644 --- a/setupJest.js +++ b/setupJest.js @@ -8,7 +8,7 @@ import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-depende const jsdom = new JSDOM('<!doctype html><html><body><div id="main"></div></body></html>', { url: 'https://localhost' }); const { window } = jsdom; -jest.setTimeout(10000); +jest.setTimeout(30000); window.HTMLCanvasElement.prototype.getContext = () => {}; jest.setMock('isomorphic-unfetch', fetch); -- GitLab