Skip to content

Commit 94fbc21

Browse files
committed
Remove jest dependencies, add to template
1 parent 63f6eef commit 94fbc21

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/cra-template/template.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"@jest/globals": "latest",
55
"@testing-library/jest-dom": "^5.14.1",
66
"@testing-library/react": "^13.0.0",
7-
"@testing-library/user-event": "^13.2.1"
7+
"@testing-library/user-event": "^13.2.1",
8+
"babel-jest": "latest",
9+
"jest": "latest"
810
}
911
}
1012
}

packages/react-scripts/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"@babel/core": "^7.16.0",
4141
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
4242
"@svgr/webpack": "^5.5.0",
43-
"babel-jest": "^27.4.2",
4443
"babel-loader": "^8.2.3",
4544
"babel-plugin-named-asset-import": "^0.3.8",
4645
"babel-preset-react-app": "^10.0.1",
@@ -56,9 +55,6 @@
5655
"fs-extra": "^10.0.0",
5756
"html-webpack-plugin": "^5.5.0",
5857
"identity-obj-proxy": "^3.0.0",
59-
"jest": "^27.4.3",
60-
"jest-resolve": "^27.4.2",
61-
"jest-watch-typeahead": "^1.0.0",
6258
"mini-css-extract-plugin": "^2.4.5",
6359
"postcss": "^8.4.4",
6460
"postcss-flexbugs-fixes": "^5.0.2",

0 commit comments

Comments
 (0)