diff --git a/src/e2e/userLayout.e2e.js b/src/e2e/userLayout.e2e.js index f7d0ee45ec302d8c160114113b9e9504c540ff98..e9179a2adbe5b75b86bad6bf6223d3a7e8a5e036 100644 --- a/src/e2e/userLayout.e2e.js +++ b/src/e2e/userLayout.e2e.js @@ -1,4 +1,3 @@ -import puppeteer from 'puppeteer'; import RouterConfig from '../../config/router.config'; const BASE_URL = `http://localhost:${process.env.PORT || 8000}`; @@ -29,8 +28,6 @@ describe('Homepage', () => { beforeAll(async () => { jest.setTimeout(1000000); - browser = await puppeteer.launch({ args: ['--no-sandbox'] }); - page = await browser.newPage(); }); formatter(RouterConfig[0].routes).forEach(route => { fit(`test pages ${route}`, testPage(route));