github-pages-deploy-action/jest.config.js

15 lines
365 B
JavaScript
Raw Permalink Normal View History

module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true,
2020-03-22 05:10:30 +08:00
setupFiles: ['<rootDir>/__tests__/env.js'],
2020-01-20 05:16:28 +08:00
collectCoverage: true,
2020-03-22 05:07:51 +08:00
collectCoverageFrom: ['src/*.ts', '!src/constants.ts']
}