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

fix test

parent 3138d8d2
...@@ -33,7 +33,7 @@ describe('Homepage', () => { ...@@ -33,7 +33,7 @@ describe('Homepage', () => {
jest.setTimeout(1000000); jest.setTimeout(1000000);
await page.setCacheEnabled(false); await page.setCacheEnabled(false);
}); });
const routers = formatter(RouterConfig[1].routes); const routers = formatter(RouterConfig);
routers.forEach(route => { routers.forEach(route => {
it(`test pages ${route}`, testPage(route)); it(`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