Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 26.9k
Upgrade jest and related packages from 26.6.0 to 27.1.0#11338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
ea0bdccb813df285d2f331e20c1c64ca78f9fb0a07e8f5111bcb54da576ca83File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -20,6 +20,6 @@ | ||
| "index.js" | ||
| ], | ||
| "devDependencies": { | ||
| "jest": "26.6.0" | ||
| "jest": "27.1.0" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -43,6 +43,6 @@ | ||
| }, | ||
| "devDependencies": { | ||
| "cross-env": "^7.0.2", | ||
| "jest": "26.6.0" | ||
| "jest": "27.1.0" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| const babelOptions = { presets: ['react-app'] }; | ||
| module.exports = require('babel-jest').createTransformer(babelOptions); | ||
| const babelJest = require('babel-jest').default; | ||
| module.exports = babelJest.createTransformer(babelOptions); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -31,7 +31,7 @@ | ||
| "@babel/core": "7.14.2", | ||
| "@pmmmwh/react-refresh-webpack-plugin": "0.5.0-rc.3", | ||
| "@svgr/webpack": "5.5.0", | ||
| "babel-jest": "^26.6.0", | ||
| "babel-jest": "^27.1.0", | ||
| "babel-loader": "8.2.2", | ||
| "babel-plugin-named-asset-import": "^0.3.7", | ||
| "babel-preset-react-app": "^10.0.0", | ||
| @@ -50,15 +50,14 @@ | ||
| "fs-extra": "^10.0.0", | ||
| "html-webpack-plugin": "5.3.2", | ||
| "identity-obj-proxy": "3.0.0", | ||
| "jest": "26.6.0", | ||
| "jest-circus": "26.6.0", | ||
| "jest-resolve": "26.6.0", | ||
| "jest-watch-typeahead": "0.6.1", | ||
| "jest": "27.1.0", | ||
| "jest-resolve": "27.1.0", | ||
| "jest-watch-typeahead": "0.6.4", | ||
| "mini-css-extract-plugin": "2.1.0", | ||
| "postcss": "8.3.5", | ||
| "postcss-flexbugs-fixes": "5.0.2", | ||
| "postcss-loader": "6.1.1", | ||
| "postcss-normalize": "10.0.0", | ||
| "postcss-normalize": "10.0.1", | ||
krreet marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| "postcss-preset-env": "6.7.0", | ||
| "prompts": "2.4.1", | ||
| "react-app-polyfill": "^2.0.0", | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -39,7 +39,6 @@ module.exports = (resolve, rootDir, isEjecting) => { | ||
| '<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}', | ||
| ], | ||
| testEnvironment: 'jsdom', | ||
| testRunner: require.resolve('jest-circus/runner'), | ||
krreet marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| transform: { | ||
| '^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': resolve( | ||
| 'config/jest/babelTransform.js' | ||
Uh oh!
There was an error while loading. Please reload this page.