1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-11 09:32:58 +00:00
toolkit/jest.config.js
Jonathan Clem f026c43b81
Add working Jest & TypeScript config
- Jest now uses ts-jest for transforms
- TypeScript compilation via `lerna run tsc`
2019-04-19 15:15:34 -04:00

12 lines
No EOL
278 B
JavaScript

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