blob: c89239c9a335eb3a34ce61b774ca9d786438c614 [file]
const path = require('path');
module.exports = {
testEnvironment: 'node',
haste: {
enableSymlinks: true,
},
reporters: [
'default',
['jest-junit', { outputFile: process.env.XML_OUTPUT_FILE }],
'./jest-reporter',
],
// explicitly specify the path to babel.config.js relative to jest.config.js so
// jest can find it even when jest.config.js is not in the root folder of the workspace
transform:
{'^.+\\.[jt]sx?$': ['babel-jest', {configFile: path.resolve(__dirname, 'babel.config.js')}]},
testMatch: ['**/*.test.js']
};