mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
19 lines
372 B
JavaScript
19 lines
372 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
extensionsToTreatAsEsm: ['.ts'],
|
|
"preset": "ts-jest/presets/default-esm",
|
|
"moduleNameMapper": {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": [
|
|
"ts-jest",
|
|
{
|
|
"useESM": true
|
|
}
|
|
]
|
|
}
|
|
|
|
};
|
|
|