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

Bigger timeout

previous pipeline failed:

```
  ● Open example › has the main text
    thrown: "Exceeded timeout of 5000 ms for a hook.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if
this is a long-running test."
      1 | describe('Open example', () => {
    > 2 |   beforeAll(async () => {
        |   ^
      3 |     let response = await page.goto('https://example.org');
      4 |     expect(response.status()).toBe(200);
      5 |   });
      at __tests__/main.js:2:3
      at Object.<anonymous> (__tests__/main.js:1:1)
```
parent 33f1504f
No related branches found
No related tags found
No related merge requests found
Pipeline #1184 passed
...@@ -8,7 +8,7 @@ import fetch from 'jest-fetch-mock'; // eslint-disable-line import/no-extraneous ...@@ -8,7 +8,7 @@ import fetch from 'jest-fetch-mock'; // eslint-disable-line import/no-extraneous
// 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(10000);
// 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