Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

setupJest.js

Blame
    • Loïs Poujade's avatar
      40f24a4e
      Bigger timeout · 40f24a4e
      Loïs Poujade authored
      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)
      ```
      40f24a4e
      History
      Bigger timeout
      Loïs Poujade authored
      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)
      ```