Browse Source

refactor: remove jest-puppeteer

master
i5ting 4 years ago
parent
commit
a331b6b2ca
  1. 3
      config/cli.jest.config.js
  2. 3
      config/core.jest.config.js
  3. 3
      config/editor.jest.config.js
  4. 3
      config/plugin.jest.config.js
  5. 4
      package.json

3
config/cli.jest.config.js

@ -7,6 +7,5 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'jsx', 'node'],
testMatch: [
"<rootDir>/__tests__/cli/src/**/*.(spec|test).[jt]s?(x)"
],
preset: "jest-puppeteer"
]
};

3
config/core.jest.config.js

@ -7,6 +7,5 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'jsx', 'node'],
testMatch: [
"<rootDir>/__tests__/core/src/**/*.(spec|test).[jt]s?(x)"
],
preset: "jest-puppeteer"
]
};

3
config/editor.jest.config.js

@ -7,6 +7,5 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'jsx', 'node'],
testMatch: [
"<rootDir>/__tests__/json-schema-editor/src/**/*.(spec|test).[jt]s?(x)"
],
preset: "jest-puppeteer"
]
};

3
config/plugin.jest.config.js

@ -7,6 +7,5 @@ module.exports = {
moduleFileExtensions: ['js', 'json', 'jsx', 'node'],
testMatch: [
"<rootDir>/__tests__/plugin-store/src/**/*.(spec|test).[jt]s?(x)"
],
preset: "jest-puppeteer"
]
};

4
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",

Loading…
Cancel
Save