mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-29 10:04:49 -05: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: [],
|
|
};
|