Update to Jest 28 (#2566)
This commit is contained in:
parent
83371ce75b
commit
1b44ba65ab
3 changed files with 2013 additions and 3783 deletions
5782
package-lock.json
generated
5782
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -50,7 +50,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@cypress/webpack-batteries-included-preprocessor": "^2.2.3",
|
"@cypress/webpack-batteries-included-preprocessor": "^2.2.3",
|
||||||
"@cypress/webpack-preprocessor": "^5.11.1",
|
"@cypress/webpack-preprocessor": "^5.11.1",
|
||||||
"@jest/types": "^28.0.2",
|
|
||||||
"@octokit/rest": "^18.12.0",
|
"@octokit/rest": "^18.12.0",
|
||||||
"@snowpack/app-scripts-react": "^2.0.1",
|
"@snowpack/app-scripts-react": "^2.0.1",
|
||||||
"@snowpack/plugin-postcss": "^1.4.3",
|
"@snowpack/plugin-postcss": "^1.4.3",
|
||||||
|
@ -87,7 +86,8 @@
|
||||||
"gunzip-maybe": "^1.4.2",
|
"gunzip-maybe": "^1.4.2",
|
||||||
"http2-proxy": "^5.0.53",
|
"http2-proxy": "^5.0.53",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"jest": "^27.5.1",
|
"jest": "^28.0.3",
|
||||||
|
"jest-environment-jsdom": "^28.0.2",
|
||||||
"lint-staged": "^12.4.1",
|
"lint-staged": "^12.4.1",
|
||||||
"node-fetch": "^3.2.4",
|
"node-fetch": "^3.2.4",
|
||||||
"postcss": "^8.4.13",
|
"postcss": "^8.4.13",
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
"progress-promise": "^0.0.6",
|
"progress-promise": "^0.0.6",
|
||||||
"snowpack": "^3.8.6",
|
"snowpack": "^3.8.6",
|
||||||
"tar-fs": "^2.1.1",
|
"tar-fs": "^2.1.1",
|
||||||
"ts-jest": "^27.1.4",
|
"ts-jest": "^28.0.0",
|
||||||
"ts-node": "^10.7.0",
|
"ts-node": "^10.7.0",
|
||||||
"typescript": "^4.6.4"
|
"typescript": "^4.6.4"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
|
"include": [
|
||||||
|
"src",
|
||||||
|
"jest.setup.ts"
|
||||||
|
],
|
||||||
// overwrite exclude so test files are included.
|
// overwrite exclude so test files are included.
|
||||||
"exclude": [],
|
"exclude": [],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
|
Loading…
Reference in a new issue