From 9416cd7d895452bde8af67f59e1968ebf7568d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Sun, 25 Nov 2018 20:28:31 +0800 Subject: [PATCH] remove extra code --- src/e2e/userLayout.e2e.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/e2e/userLayout.e2e.js b/src/e2e/userLayout.e2e.js index f7d0ee45..e9179a2a 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)); -- GitLab