Commit 9416cd7d authored by 陈帅's avatar 陈帅

remove extra code

parent 91be534a
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));
......
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