You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cache/jest.config.ts

22 lines
527 B
TypeScript

export default {
clearMocks: true,
moduleFileExtensions: ["js", "ts"],
roots: ["<rootDir>/__tests__"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
transform: {
"^.+\\.ts$": [
"ts-jest",
{
useESM: true,
diagnostics: {
ignoreCodes: [151002]
}
}
]
},
extensionsToTreatAsEsm: [".ts"],
transformIgnorePatterns: ["node_modules/(?!(@actions)/)"],
verbose: true
};