gradle-build-action/jest.config.js

13 lines
287 B
JavaScript
Raw Normal View History

2019-09-21 05:06:59 +08:00
module.exports = {
clearMocks: true,
2020-06-13 18:46:29 +08:00
moduleFileExtensions: ['js', 'ts', 'json'],
2019-09-21 05:06:59 +08:00
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
2020-06-13 18:46:29 +08:00
verbose: true,
setupFilesAfterEnv: ['./jest.setup.js']
}