github-pages-deploy-action/jest.config.js
2020-03-21 17:10:30 -04:00

15 lines
365 B
JavaScript

module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true,
setupFiles: ['<rootDir>/__tests__/env.js'],
collectCoverage: true,
collectCoverageFrom: ['src/*.ts', '!src/constants.ts']
}