import-gpg/jest.config.ts

13 lines
325 B
TypeScript
Raw Normal View History

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