mirror of
https://github.com/actions/cache.git
synced 2026-05-21 04:38:19 +01:00
22 lines
446 B
TypeScript
22 lines
446 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
|
|
}
|