setup-node/jest.config.js

12 lines
237 B
JavaScript
Raw Normal View History

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