Skip to content

Commit

Permalink
feat: jest29 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Sep 9, 2022
1 parent 4d8c08a commit 93dd5e3
Show file tree
Hide file tree
Showing 3 changed files with 1,383 additions and 1,535 deletions.
8 changes: 3 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module.exports = {
coveragePathIgnorePatterns: ['__tests__/__fixtures__/'],
globals: {
'ts-jest': {
tsconfig: '__tests__/tsconfig.json',
},
},
preset: 'ts-jest/presets/js-with-ts',
testPathIgnorePatterns: ['__tests__/__fixtures__/'],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(js?|ts?)$',
transform: {
'\\.ts$': ['ts-jest', { tsconfig: '__tests__/tsconfig.json' }],
},
};
Loading

0 comments on commit 93dd5e3

Please sign in to comment.