From d190f9c72cce2671e54a4746d4749c72cc8c2818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 5 Nov 2018 14:28:32 +0800 Subject: [PATCH] Increase timeout limit --- package.json | 10 +++++----- src/e2e/layout.e2e.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f3b1655b..297c7722 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "@antv/data-set": "^0.9.6", "@babel/runtime": "^7.1.2", - "antd": "^3.10.0", + "antd": "^3.10.4", "bizcharts": "^3.2.2", "bizcharts-plugin-slider": "^2.0.3", "classnames": "^2.2.6", @@ -73,9 +73,6 @@ "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-markdown": "^1.0.0-beta.6", "eslint-plugin-react": "^7.11.1", - "tslint": "^5.10.0", - "tslint-config-prettier": "^1.10.0", - "tslint-react": "^3.6.0", "gh-pages": "^2.0.1", "husky": "^1.1.2", "lint-staged": "^7.2.0", @@ -86,12 +83,15 @@ "stylelint": "^9.4.0", "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", + "tslint": "^5.10.0", + "tslint-config-prettier": "^1.10.0", + "tslint-react": "^3.6.0", "umi": "^2.2.1", "umi-plugin-ga": "^1.1.3", "umi-plugin-react": "^1.2.0" }, "optionalDependencies": { - "puppeteer": "^1.9.0" + "puppeteer": "^1.10.0" }, "lint-staged": { "**/*.{js,jsx,less}": [ diff --git a/src/e2e/layout.e2e.js b/src/e2e/layout.e2e.js index 58525bc9..3d95dc1d 100644 --- a/src/e2e/layout.e2e.js +++ b/src/e2e/layout.e2e.js @@ -28,6 +28,7 @@ describe('Homepage', () => { }; beforeAll(async () => { + jest.setTimeout(1000000); browser = await puppeteer.launch({ args: ['--no-sandbox'] }); page = await browser.newPage(); }); -- GitLab