File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ module.exports = {
44 testEnvironment : "node" ,
55 // See https://kulshekhar.github.io/ts-jest/docs/guides/esm-support
66 extensionsToTreatAsEsm : [
7+ ".js" ,
78 ".ts" ,
89 ".mts" ,
910 ] ,
@@ -14,7 +15,7 @@ module.exports = {
1415 "types/.*.types.test..*$" ,
1516 ] ,
1617 transform : {
17- "\\.[jt]s? $" : [
18+ "\\.[jt]s$" : [
1819 "ts-jest" ,
1920 {
2021 "useESM" : true ,
Original file line number Diff line number Diff line change 1111 "moduleResolution" : " node" ,
1212 "skipLibCheck" : true ,
1313 "types" : [],
14+ "allowJs" : true ,
1415 "paths" : {
1516 "*.js" : [" *.ts" ]
1617 }
Original file line number Diff line number Diff line change 1010 "strict" : true ,
1111 "esModuleInterop" : true ,
1212 "forceConsistentCasingInFileNames" : true ,
13+ "allowJs" : true ,
1314 "allowSyntheticDefaultImports" : true ,
1415 "skipLibCheck" : true ,
1516 "sourceMap" : true ,
You can’t perform that action at this time.
0 commit comments