aqua-playground/jest.config.cjs

19 lines
372 B
JavaScript
Raw Normal View History

/** @type {import('ts-jest').JestConfigWithTsJest} */
2023-02-21 11:25:00 +04:00
module.exports = {
extensionsToTreatAsEsm: ['.ts'],
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
2023-02-21 11:25:00 +04:00
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
}
2023-02-21 11:25:00 +04:00
};