Skip to content

Commit

Permalink
remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Nov 25, 2018
1 parent 91be534 commit 9416cd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/e2e/userLayout.e2e.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import puppeteer from 'puppeteer';
import RouterConfig from '../../config/router.config';

const BASE_URL = `http://localhost:${process.env.PORT || 8000}`;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 9416cd7

Please sign in to comment.