mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-05 03:34:46 +01:00
17 lines
438 B
JavaScript
17 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: [],
|
|
};
|