Skip to content

Commit

Permalink
tests: add .tsx to transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed May 28, 2024
1 parent 26890f7 commit ca9058d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
testRegex: '(/tests/)(.*?)(Tests?)(\\.[jt]s)$',

transform: {
'^.+\\.ts?$': [ 'ts-jest', {
'^.+\\.tsx?$': [ 'ts-jest', {
tsconfig: '<rootDir>/tsconfig.tests.json'
} ]
},
Expand Down

0 comments on commit ca9058d

Please sign in to comment.