gradle-build-action/jest.config.js

13 lines
287 B
JavaScript
Raw Permalink Normal View History

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