mirror of
https://github.com/desktop/desktop
synced 2024-09-17 23:21:55 +00:00
24 lines
593 B
JavaScript
24 lines
593 B
JavaScript
module.exports = {
|
|
roots: ['<rootDir>/changelog/', '<rootDir>/draft-release/'],
|
|
transform: {
|
|
'^.+\\.tsx?$': 'ts-jest',
|
|
},
|
|
testMatch: ['**/*-test.ts'],
|
|
moduleFileExtensions: ['ts', 'js', 'jsx', 'json', 'node'],
|
|
collectCoverageFrom: [
|
|
'**/*.{js,jsx,ts,tsx}',
|
|
'!**/node_modules/**',
|
|
'!**/vendor/**',
|
|
'!**/*.d.*',
|
|
// ignore index files
|
|
'!**/index.ts',
|
|
],
|
|
reporters: ['default', '<rootDir>/jest-actions-reporter.js'],
|
|
coverageReporters: ['text-summary', 'json', 'html', 'cobertura'],
|
|
globals: {
|
|
'ts-jest': {
|
|
useBabelrc: true,
|
|
},
|
|
},
|
|
}
|