Skip to content

Commit c071062

Browse files
🚨 Support tsx
1 parent b59cbd2 commit c071062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export default {
173173

174174
// A map from regular expressions to paths to transformers
175175
transform: {
176-
'^.+\\.ts$': 'ts-jest',
176+
'^.+\\.tsx?$': 'ts-jest',
177177
},
178178

179179
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation

0 commit comments

Comments
 (0)