From 40f24a4e302ff3cb4b571dc2de07a8423d669265 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr>
Date: Mon, 28 Nov 2022 16:11:34 +0100
Subject: [PATCH] Bigger timeout
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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)
```
---
 setupJest.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setupJest.js b/setupJest.js
index cb2cd9e..fe1a7c9 100644
--- a/setupJest.js
+++ b/setupJest.js
@@ -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 { window } = jsdom;
 
-// jest.setTimeout(10000);
+jest.setTimeout(10000);
 
 // window.HTMLCanvasElement.prototype.getContext = () => {};
 jest.setMock('isomorphic-unfetch', fetch);
-- 
GitLab