module.exports = { restoreMocks: true, coverageDirectory: 'jest-coverage/', collectCoverageFrom: ['/ui/**/*.js', '/shared/**/*.js'], coveragePathIgnorePatterns: ['.stories.js', '.snap'], coverageThreshold: { global: { branches: 35, functions: 37, lines: 43, statements: 43, }, }, setupFiles: ['./test/setup.js', './test/env.js'], setupFilesAfterEnv: ['./test/jest/setup.js'], testMatch: [ '/ui/**/?(*.)+(test).js', '/shared/**/?(*.)+(test).js', ], };