Skip to content

Commit

Permalink
chore: update Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Aug 22, 2023
1 parent bd289fa commit 47e4949
Show file tree
Hide file tree
Showing 8 changed files with 888 additions and 791 deletions.
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ module.exports = {
"packages/remix-testing",
],
watchPlugins: [
require.resolve("jest-watch-select-projects"),
require.resolve("jest-watch-typeahead/filename"),
require.resolve("jest-watch-typeahead/testname"),
"jest-watch-select-projects",
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname",
],
reporters: ["default"],
};
9 changes: 6 additions & 3 deletions jest/jest.config.shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ module.exports = {
transform: {
"\\.[jt]sx?$": require.resolve("./transform"),
},
transformIgnorePatterns: [
"node_modules/(?!(@remix-run/web-(blob|fetch|file|form-data|stream)|@web3-storage/multipart-parser)/)",
],
watchPlugins: [
require.resolve("jest-watch-select-projects"),
require.resolve("jest-watch-typeahead/filename"),
require.resolve("jest-watch-typeahead/testname"),
"jest-watch-select-projects",
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname",
],
};
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@types/cross-spawn": "^6.0.2",
"@types/dedent": "^0.7.0",
"@types/glob": "7.2.0",
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.8",
"@types/jsonfile": "^6.1.0",
"@types/lodash": "^4.14.182",
"@types/react": "^18.2.20",
Expand All @@ -85,7 +85,7 @@
"@types/serialize-javascript": "^5.0.2",
"@types/ssri": "^7.1.0",
"@vanilla-extract/css": "^1.10.0",
"babel-jest": "^27.5.1",
"babel-jest": "^28.1.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.12",
Expand All @@ -101,9 +101,9 @@
"front-matter": "^4.0.2",
"glob": "8.0.3",
"isbot": "^3.5.1",
"jest": "^27.5.1",
"jest": "^28.1.3",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^0.6.5",
"jest-watch-typeahead": "^1.1.0",
"jsonfile": "^6.0.1",
"lodash": "^4.17.21",
"mime": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Please note that because this ruleset is optional, we do not include the core li
"dependencies": {
"@testing-library/jest-dom": ">=5.16.0",
"@testing-library/react": ">=12.0.0",
"jest": ">=26.0.0"
"jest": ">=28.0.0"
}
}
```
2 changes: 1 addition & 1 deletion packages/remix-eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"devDependencies": {
"@types/eslint": "^8.37.0",
"eslint": "^8.37.0",
"jest": "^27.5.1",
"jest": "^28.1.3",
"react": "^18.2.0",
"typescript": "^5.1.6"
},
Expand Down
1 change: 1 addition & 0 deletions packages/remix-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.3.0",
"@types/react": "^18.2.20",
"jest-environment-jsdom": "^28.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6"
Expand Down
1 change: 1 addition & 0 deletions packages/remix-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@types/node": "^18.17.1",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"jest-environment-jsdom": "^28.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6"
Expand Down
1,650 changes: 871 additions & 779 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 47e4949

Please sign in to comment.