13 lines
243 B
JavaScript
13 lines
243 B
JavaScript
export default {
|
|
extensionsToTreatAsEsm: [".ts"],
|
|
preset: "ts-jest/presets/default-esm", // or other ESM presets
|
|
globals: {
|
|
"ts-jest": {
|
|
useESM: true,
|
|
},
|
|
},
|
|
moduleNameMapper: {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
},
|
|
};
|