Skip to content

Commit

Permalink
Add moduleFileExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Apr 15, 2020
1 parent 908c669 commit 647f798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
setupFiles: ['./src/test/setupFiles/automatic-mocks.ts'],
preset: 'ts-jest',
testRegex: '(test|src)/.*test.ts$',
moduleFileExtensions: ['ts', 'js', 'json'],
globals: {
'ts-jest': {
diagnostics: false,
Expand Down

0 comments on commit 647f798

Please sign in to comment.