Skip to content
Snippets Groups Projects
Verified Commit 60c3403c authored by Loïs Poujade's avatar Loïs Poujade
Browse files

bigger timeout for hook

parent bbebc9d7
Branches master
No related tags found
No related merge requests found
Pipeline #1196 passed
...@@ -8,7 +8,7 @@ import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-depende ...@@ -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 jsdom = new JSDOM('<!doctype html><html><body><div id="main"></div></body></html>', { url: 'https://localhost' });
const { window } = jsdom; const { window } = jsdom;
jest.setTimeout(10000); jest.setTimeout(30000);
window.HTMLCanvasElement.prototype.getContext = () => {}; window.HTMLCanvasElement.prototype.getContext = () => {};
jest.setMock('isomorphic-unfetch', fetch); jest.setMock('isomorphic-unfetch', fetch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment