gpg/jest.config.ts

13 lines
325 B
TypeScript
Raw Normal View History

2020-05-03 14:46:05 -04:00
module.exports = {
clearMocks: true,
2023-09-09 21:38:53 -04:00
testEnvironment: 'node',
2020-05-03 14:46:05 -04:00
moduleFileExtensions: ['js', 'ts'],
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
2023-09-09 21:38:53 -04:00
collectCoverageFrom: ['src/**/{!(main.ts),}.ts'],
coveragePathIgnorePatterns: ['dist/', 'node_modules/', '__tests__/'],
verbose: true
2023-09-09 21:38:53 -04:00
};