e2e/jest.e2e.config.ts
//@ts-ignore
process.env.JEST_PUPPETEER_CONFIG = require.resolve('./jest-puppeteer.config.ts');
module.exports = {
preset: 'jest-puppeteer',
setupFilesAfterEnv: ['<rootDir>/setupJestPuppeteer.js'],
transform: {
'\\.[jt]sx?$': ['babel-jest', { rootMode: 'upward' }],
},
};