mirror of
https://github.com/desktop/desktop
synced 2024-08-25 03:07:41 +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,
|
|
},
|
|
},
|
|
}
|