From 2cc3e8460a03c0a286d6fe62016bde7a2bd08840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 5 Nov 2018 14:33:05 +0800 Subject: [PATCH] add home.e2e.js timeout --- src/e2e/home.e2e.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/e2e/home.e2e.js b/src/e2e/home.e2e.js index 914ed7c1..4b55b607 100644 --- a/src/e2e/home.e2e.js +++ b/src/e2e/home.e2e.js @@ -3,6 +3,9 @@ import puppeteer from 'puppeteer'; const BASE_URL = `http://localhost:${process.env.PORT || 8000}`; describe('Homepage', () => { + beforeAll(async () => { + jest.setTimeout(1000000); + }); it('it should have logo text', async () => { const browser = await puppeteer.launch({ args: ['--no-sandbox'] }); const page = await browser.newPage(); -- GitLab