mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-28 11:21:06 -05:00
18 lines
438 B
JavaScript
18 lines
438 B
JavaScript
|
module.exports = {
|
||
|
preset: "ts-jest/presets/js-with-ts-esm",
|
||
|
transform: {
|
||
|
"\\.ts$": ["ts-jest", {
|
||
|
useESM: true,
|
||
|
diagnostics: false,
|
||
|
isolatedModules: true,
|
||
|
}],
|
||
|
"\\.js$": "babel-jest",
|
||
|
},
|
||
|
testEnvironment: "node",
|
||
|
testMatch: ["**/tests/**/*/*.spec.ts"],
|
||
|
moduleNameMapper: {
|
||
|
"^@/(.*)$": "<rootDir>/src/$1",
|
||
|
},
|
||
|
transformIgnorePatterns: [],
|
||
|
};
|