mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -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: [],
|
|
};
|