From b739ff0b04adff6413ac7f1c0bb21c9518a5a7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 22 May 2019 17:16:33 +0800 Subject: [PATCH] fix test --- src/e2e/baseLayout.e2e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e2e/baseLayout.e2e.js b/src/e2e/baseLayout.e2e.js index 2b7ddee4..63f58a5a 100644 --- a/src/e2e/baseLayout.e2e.js +++ b/src/e2e/baseLayout.e2e.js @@ -33,7 +33,7 @@ describe('Homepage', () => { jest.setTimeout(1000000); await page.setCacheEnabled(false); }); - const routers = formatter(RouterConfig[1].routes); + const routers = formatter(RouterConfig); routers.forEach(route => { it(`test pages ${route}`, testPage(route)); }); -- GitLab