huridocs/uwazi

View on GitHub
e2e/jest.e2e.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
//@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' }],
  },
};