Commit 2cc3e846 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

add home.e2e.js timeout

parent d190f9c7
...@@ -3,6 +3,9 @@ import puppeteer from 'puppeteer'; ...@@ -3,6 +3,9 @@ import puppeteer from 'puppeteer';
const BASE_URL = `http://localhost:${process.env.PORT || 8000}`; const BASE_URL = `http://localhost:${process.env.PORT || 8000}`;
describe('Homepage', () => { describe('Homepage', () => {
beforeAll(async () => {
jest.setTimeout(1000000);
});
it('it should have logo text', async () => { it('it should have logo text', async () => {
const browser = await puppeteer.launch({ args: ['--no-sandbox'] }); const browser = await puppeteer.launch({ args: ['--no-sandbox'] });
const page = await browser.newPage(); const page = await browser.newPage();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment