Skip to content

Commit

Permalink
Upgrade Jest and React Testing Library (#2597)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Dec 18, 2021
1 parent 01cca60 commit 4a21258
Show file tree
Hide file tree
Showing 4 changed files with 1,018 additions and 604 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
testEnvironment: 'jsdom',
transform: {
'\\.css$': '<rootDir>/test/styleTransform.js',
'^.+\\.js?$': 'babel-jest'
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@preconstruct/cli": "1.1.34",
"@testing-library/react": "^11.0.4",
"@types/jest": "^26.0.14",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3",
"@types/node": "^10.11.4",
"@types/react": "^16.9.11",
"babel-check-duplicated-nodes": "^1.0.0",
"babel-eslint": "^10.1.0",
"babel-flow-types": "^1.2.3",
"babel-jest": "^26.3.0",
"babel-jest": "^27.4.5",
"babel-plugin-add-basic-constructor-for-react-components": "^0.1.0",
"babel-plugin-codegen": "^3.0.0",
"babel-plugin-fix-dce-for-classes-with-statics": "^0.1.0",
Expand Down Expand Up @@ -231,13 +231,13 @@
"flow-bin": "^0.128.0",
"html-tag-names": "^1.1.2",
"husky": "^3.0.9",
"jest": "^26.4.2",
"jest-environment-jsdom": "^26.3.0",
"jest": "^27.4.5",
"jest-environment-jsdom": "^27.4.4",
"jest-in-case": "^1.0.2",
"jest-junit": "^11.1.0",
"jest-serializer-html": "^7.0.0",
"jest-watch-typeahead": "^0.6.1",
"jsdom": "^16.4.0",
"jest-junit": "^13.0.0",
"jest-serializer-html": "^7.1.0",
"jest-watch-typeahead": "^1.0.0",
"jsdom": "^16.6.0",
"lint-staged": "^7.2.0",
"module-alias": "^2.0.1",
"multipipe": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@emotion/css": "11.7.1",
"@emotion/react": "11.7.1",
"@types/jest": "^26.0.14",
"@types/jest": "^27.0.3",
"dtslint": "^0.3.0",
"enzyme-to-json": "^3.6.1",
"preact": "^8.2.9",
Expand Down

0 comments on commit 4a21258

Please sign in to comment.