Skip to content

Commit

Permalink
fix(deps): update jest monorepo (major) (#2078)
Browse files Browse the repository at this point in the history
* fix(deps): update jest monorepo

* add jest-environment-jsdom

* fix peers

* Create four-squids-act.md

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sebastian Sebald <sebastian.sebald@gmail.com>
Co-authored-by: Sebastian Sebald <sebastian.sebald@reservix.de>
  • Loading branch information
4 people authored May 18, 2022
1 parent 57b625a commit dc07c27
Show file tree
Hide file tree
Showing 5 changed files with 776 additions and 425 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-squids-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marigold/jest-config": major
---

fix(deps): update jest to 28
1 change: 1 addition & 0 deletions config/jest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const { pathsToModuleNameMapper } = require('ts-jest');
*/
const base = {
testEnvironment: 'jsdom',
testEnvironmentOptions: {},
testMatch: ['<rootDir>/**/*.test.{ts,tsx}'],
setupFilesAfterEnv: [path.resolve(__dirname, 'jest.setup.ts')],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
Expand Down
9 changes: 5 additions & 4 deletions config/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,21 @@
"@swc/core": "1.2.183",
"@swc/jest": "0.2.15",
"@types/jest": "27.4.1",
"babel-jest": "27.5.1",
"babel-jest": "28.1.0",
"find-up": "5.0.0",
"jest-watch-typeahead": "1.0.0",
"merge-deep": "3.0.3",
"react-test-renderer": "17.0.2",
"ts-jest": "27.1.4"
"ts-jest": "28.0.2"
},
"peerDependencies": {
"jest": "27.x",
"jest": "28.x",
"jest-environment-jsdom": "28.x",
"react": "17.0.2",
"typescript": "4.6.3"
},
"devDependencies": {
"jest": "27.5.1",
"jest": "28.1.0",
"react": "17.0.2",
"typescript": "4.6.3"
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"dotenv": "16.0.0",
"eslint": "8.12.0",
"husky": "8.0.1",
"jest": "27.5.1",
"jest": "28.1.0",
"jest-environment-jsdom": "^28.1.0",
"prettier": "2.6.2",
"pretty-quick": "3.1.3",
"react": "17.0.2",
Expand Down
Loading

0 comments on commit dc07c27

Please sign in to comment.