setup-node/jest.config.js

11 lines
235 B
JavaScript
Raw Permalink Normal View History

2019-08-04 09:49:54 +08:00
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}