github-desktop/app/jest.integration.config.js
2019-01-16 13:18:15 -04:00

25 lines
543 B
JavaScript

module.exports = {
roots: ['<rootDir>/src/', '<rootDir>/test/'],
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
testMatch: ['**/integration/**/*-test.ts{,x}'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
setupTestFrameworkScriptFile: '<rootDir>/test/setup-test-framework.ts',
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: '.',
outputName: 'junit-integration-tests.xml',
},
],
],
globals: {
'ts-jest': {
useBabelrc: true,
},
},
}