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

14 lines
363 B
JavaScript
Raw 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-01-20 03:13:38 +08:00
setupFiles: ["<rootDir>/__tests__/env.js"],
2020-01-20 05:16:28 +08:00
collectCoverage: true,
collectCoverageFrom: ['src/*.ts','!src/constants.ts']
}