Skip to content

Commit

Permalink
find a way to have both ts-jest and tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Mar 26, 2022
1 parent 96d358e commit 7358145
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ module.exports = {
'\\.(css|less)$': '<rootDir>/test/css.js',
'^txml/txml$': '<rootDir>/node_modules/txml/dist/txml'
},
globals: {
"ts-jest": {
tsconfig: {
outDir: "./.ts-jest"
}
}
},
setupFiles: ['jest-canvas-mock'],
setupFilesAfterEnv: [
'@testing-library/react/dont-cleanup-after-each',
Expand Down

0 comments on commit 7358145

Please sign in to comment.