module.exports = { displayName: '/ui, /shared', collectCoverageFrom: ['/ui/**/*.js', '/shared/**/*.js'], coverageDirectory: './jest-coverage/main', coveragePathIgnorePatterns: ['.stories.js', '.snap'], coverageReporters: ['json', 'lcov', 'text', 'clover'], coverageThreshold: { global: { branches: 35, functions: 37, lines: 43, statements: 43, }, }, // TODO: enable resetMocks // resetMocks: true, restoreMocks: true, setupFiles: ['/test/setup.js', '/test/env.js'], setupFilesAfterEnv: ['/test/jest/setup.js'], testMatch: ['/ui/**/*.test.js', '/shared/**/*.test.js'], testTimeout: 2500, };