blob: 0a85942d632b478b2de945b9fed4d03a5b3ef6a8 [file]
const path = require('path');
module.exports = {
testEnvironment: 'node',
reporters: ['default', './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']
};