mirror of
https://github.com/desktop/desktop
synced 2024-09-13 13:21:28 +00:00
25 lines
543 B
JavaScript
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,
|
|
},
|
|
},
|
|
}
|