diff --git a/package.json b/package.json index c8ef2757c4dd81ac785afc1b6bef79e59148437f..de7caa6b2c3770eb9815e2d5562031889c6f7593 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 9357466149550b6a4d75b0574f01041f041be3a5..74938719d5a2c071fba3f1e407ca18af1c36720e 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 a3f23a685814a9a8b5ebe34c5ca9e9c1ede0c97a..a2edfc7b80d13cd7fee411e07642a7ef74e80951 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)); }); });