Skip to content

Commit

Permalink
Fix jest deprecation warning in jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Nov 10, 2022
1 parent e420259 commit 678c1be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ module.exports = {
runner: 'groups',

preset: 'ts-jest/presets/js-with-ts',
globals: {
'ts-jest': {
tsconfig: { allowJs: true }
}
transform: {
'<transform_regex>': ['ts-jest', { allowJs: true }]
},

// Coverage options
Expand Down

0 comments on commit 678c1be

Please sign in to comment.