Files
cache/jest.config.ts

22 lines
446 B
TypeScript
Raw Normal View History

2026-05-20 19:31:39 +00:00
export default {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
2026-05-20 20:18:29 +00:00
roots: ['<rootDir>/__tests__'],
2026-05-20 19:31:39 +00:00
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': [
'ts-jest',
{
useESM: true,
diagnostics: {
ignoreCodes: [151002]
}
}
]
},
extensionsToTreatAsEsm: ['.ts'],
transformIgnorePatterns: ['node_modules/(?!(@actions)/)'],
verbose: true
}