ghaction-upx/jest.config.ts

13 lines
325 B
TypeScript
Raw Normal View History

2020-01-08 14:26:34 -07:00
module.exports = {
clearMocks: true,
2023-09-09 21:28:33 -06:00
testEnvironment: 'node',
2020-01-08 14:26:34 -07:00
moduleFileExtensions: ['js', 'ts'],
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
2023-09-09 21:28:33 -06:00
collectCoverageFrom: ['src/**/{!(main.ts),}.ts'],
coveragePathIgnorePatterns: ['dist/', 'node_modules/', '__tests__/'],
verbose: true
};