module.exports = { projects: [ { displayName: 'UNIT', testEnvironment: 'node', testMatch: [ '/src/**/*.spec.ts', '/test/**/*.spec.js', ], moduleNameMapper: { '\\.hbs$': '/src/templates/__mocks__/index.js', }, collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', ], }, { displayName: 'E2E', testEnvironment: 'node', testMatch: [ '/test/e2e/index.js', ], globals: { URL: 'http://localhost:3000', }, }, ], };