Files
toolkit/jest.config.js
2026-01-22 11:59:59 -05:00

22 lines
513 B
JavaScript

module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
roots: ['<rootDir>/packages'],
testEnvironment: 'node',
testMatch: ['**/__tests__/*.test.ts'],
transform: {
'^.+\\.(ts|js)$': ['ts-jest', {
isolatedModules: true,
diagnostics: {warnOnly: true},
tsconfig: {
allowJs: true,
esModuleInterop: true
}
}]
},
transformIgnorePatterns: [
'/node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)'
],
verbose: true
}