2019-04-19 15:15:34 -04:00
|
|
|
module.exports = {
|
|
|
|
|
clearMocks: true,
|
|
|
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
|
|
|
roots: ['<rootDir>/packages'],
|
|
|
|
|
testEnvironment: 'node',
|
|
|
|
|
testMatch: ['**/__tests__/*.test.ts'],
|
|
|
|
|
transform: {
|
2026-01-22 11:59:59 -05:00
|
|
|
'^.+\\.(ts|js)$': ['ts-jest', {
|
|
|
|
|
isolatedModules: true,
|
|
|
|
|
diagnostics: {warnOnly: true},
|
|
|
|
|
tsconfig: {
|
|
|
|
|
allowJs: true,
|
|
|
|
|
esModuleInterop: true
|
|
|
|
|
}
|
|
|
|
|
}]
|
2019-04-19 15:15:34 -04:00
|
|
|
},
|
2026-01-22 11:59:59 -05:00
|
|
|
transformIgnorePatterns: [
|
|
|
|
|
'/node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)'
|
|
|
|
|
],
|
2024-01-09 19:05:11 +00:00
|
|
|
verbose: true
|
2024-01-09 19:47:02 +00:00
|
|
|
}
|