Skip to content

Commit

Permalink
test: cleaning up our jest config (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Dec 5, 2022
1 parent 82ae922 commit bea7231
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ module.exports = {
},
modulePaths: ['<rootDir>'],
modulePathIgnorePatterns: ['<rootDir>/dist/'],
/**
* Not sure why, but the non-legacy preset gives us TS compilation errors
* since it's not properly reading our testing TS config.
* @see {@link https://kulshekhar.github.io/ts-jest/docs/getting-started/presets}
* @see {@link https://kulshekhar.github.io/ts-jest/docs/getting-started/options/tsconfig/}
*/
preset: 'ts-jest/presets/js-with-ts-legacy',
roots: ['<rootDir>'],
setupFiles: ['./__tests__/setup'],
setupFilesAfterEnv: ['jest-extended/all'],
Expand Down

0 comments on commit bea7231

Please sign in to comment.