Skip to content

Commit f0d5ec6

Browse files
authored
Merge pull request #153 from croutonn/renovate/major-jest-monorepo
chore(deps): update jest monorepo to v27 (major)
2 parents 9665a47 + 48b0763 commit f0d5ec6

File tree

3 files changed

+910
-1569
lines changed

3 files changed

+910
-1569
lines changed

jest.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,8 @@ module.exports = () => {
99
return {
1010
displayName: pkg.name,
1111
rootDir: __dirname,
12-
transform: { '^.+\\.tsx?$': 'ts-jest' },
12+
preset: 'ts-jest',
1313
testEnvironment: 'node',
14-
globals: {
15-
'ts-jest': {
16-
diagnostics: false,
17-
tsConfig: 'tsconfig.json',
18-
},
19-
},
2014
restoreMocks: true,
2115
reporters: ['default'],
2216
modulePathIgnorePatterns: ['dist'],

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
"eslint-plugin-react": "^7.23.2",
6262
"eslint-plugin-react-hooks": "^4.2.0",
6363
"graphql": "^15.5.0",
64-
"jest": "^26.6.3",
65-
"jest-docblock": "^26.0.0",
64+
"jest": "^27.0.6",
65+
"jest-docblock": "^27.0.6",
6666
"jest-junit": "^12.1.0",
6767
"npm-run-all": "^4.1.5",
6868
"prettier": "^2.2.1",
6969
"react": "^17.0.2",
70-
"ts-jest": "^26.5.6",
70+
"ts-jest": "^27.0.5",
7171
"typescript": "^4.1.3"
7272
},
7373
"files": [

0 commit comments

Comments
 (0)