From a331b6b2caa9ec6dda980391debcfb5d39627f8e Mon Sep 17 00:00:00 2001 From: i5ting Date: Thu, 24 Dec 2020 21:10:33 +0800 Subject: [PATCH] refactor: remove jest-puppeteer --- config/cli.jest.config.js | 3 +-- config/core.jest.config.js | 3 +-- config/editor.jest.config.js | 3 +-- config/plugin.jest.config.js | 3 +-- package.json | 4 ---- 5 files changed, 4 insertions(+), 12 deletions(-) diff --git a/config/cli.jest.config.js b/config/cli.jest.config.js index 072a716..808091d 100644 --- a/config/cli.jest.config.js +++ b/config/cli.jest.config.js @@ -7,6 +7,5 @@ module.exports = { moduleFileExtensions: ['js', 'json', 'jsx', 'node'], testMatch: [ "/__tests__/cli/src/**/*.(spec|test).[jt]s?(x)" - ], - preset: "jest-puppeteer" + ] }; \ No newline at end of file diff --git a/config/core.jest.config.js b/config/core.jest.config.js index bd1b25a..80d5924 100644 --- a/config/core.jest.config.js +++ b/config/core.jest.config.js @@ -7,6 +7,5 @@ module.exports = { moduleFileExtensions: ['js', 'json', 'jsx', 'node'], testMatch: [ "/__tests__/core/src/**/*.(spec|test).[jt]s?(x)" - ], - preset: "jest-puppeteer" + ] }; \ No newline at end of file diff --git a/config/editor.jest.config.js b/config/editor.jest.config.js index 7a7d691..a93d82a 100644 --- a/config/editor.jest.config.js +++ b/config/editor.jest.config.js @@ -7,6 +7,5 @@ module.exports = { moduleFileExtensions: ['js', 'json', 'jsx', 'node'], testMatch: [ "/__tests__/json-schema-editor/src/**/*.(spec|test).[jt]s?(x)" - ], - preset: "jest-puppeteer" + ] }; \ No newline at end of file diff --git a/config/plugin.jest.config.js b/config/plugin.jest.config.js index e4c2f4d..ff80c52 100644 --- a/config/plugin.jest.config.js +++ b/config/plugin.jest.config.js @@ -7,6 +7,5 @@ module.exports = { moduleFileExtensions: ['js', 'json', 'jsx', 'node'], testMatch: [ "/__tests__/plugin-store/src/**/*.(spec|test).[jt]s?(x)" - ], - preset: "jest-puppeteer" + ] }; \ No newline at end of file diff --git a/package.json b/package.json index cbce5c8..e4f28f3 100644 --- a/package.json +++ b/package.json @@ -48,13 +48,9 @@ "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^3.0.0", "eslint-plugin-standard": "^5.0.0", - "jest": "^26.6.3", - "jest-environment-jsdom-fourteen": "^1.0.1", - "jest-puppeteer": "^4.4.0", "lerna": "^3.22.1", "lowdb": "^1.0.0", "prettier": "^2.0.4", - "puppeteer": "^5.5.0", "react-app-polyfill": "^2.0.0", "rollup": "^2.6.1", "rollup-plugin-babel": "^4.4.0",