From 81e666d95ad7a03fbf1adf9a3c49f02b6cb237e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 15 Jan 2019 15:10:13 +0800 Subject: [PATCH] remove fit function in test (#3369) * removefit * up umi version * try fix deploy error --- package.json | 3 ++- src/e2e/baseLayout.e2e.js | 2 +- src/e2e/userLayout.e2e.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c8ef2757..de7caa6b 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,7 @@ "gh-pages": "^2.0.1", "husky": "^1.2.0", "jest-puppeteer": "^3.5.1", + "less": "^3.9.0", "lint-staged": "^8.1.0", "merge-umi-mock-data": "^1.0.4", "mockjs": "^1.0.1-beta3", @@ -95,7 +96,7 @@ "tslint": "^5.10.0", "tslint-config-prettier": "^1.10.0", "tslint-react": "^3.6.0", - "umi": "^2.3.5", + "umi": "^2.4.2", "umi-plugin-ga": "^1.1.3", "umi-plugin-react": "^1.3.4" }, diff --git a/src/e2e/baseLayout.e2e.js b/src/e2e/baseLayout.e2e.js index 93574661..74938719 100644 --- a/src/e2e/baseLayout.e2e.js +++ b/src/e2e/baseLayout.e2e.js @@ -29,6 +29,6 @@ describe('Homepage', async () => { }); const routers = formatter(RouterConfig[1].routes); routers.forEach(route => { - fit(`test pages ${route}`, testPage(route)); + it(`test pages ${route}`, testPage(route)); }); }); diff --git a/src/e2e/userLayout.e2e.js b/src/e2e/userLayout.e2e.js index a3f23a68..a2edfc7b 100644 --- a/src/e2e/userLayout.e2e.js +++ b/src/e2e/userLayout.e2e.js @@ -27,6 +27,6 @@ describe('Homepage', () => { jest.setTimeout(1000000); }); formatter(RouterConfig[0].routes).forEach(route => { - fit(`test pages ${route}`, testPage(route)); + it(`test pages ${route}`, testPage(route)); }); }); -- GitLab