module.exports = { // Automatically clear mock calls and instances between every test clearMocks: true, // The directory where Jest should output its coverage files coverageDirectory: 'coverage', // An array of regexp pattern strings used to skip coverage collection coveragePathIgnorePatterns: [ '/node_modules/', '/test/', ], // A list of reporter names that Jest uses when writing coverage reports coverageReporters: [ 'text', 'lcov', ], // An array of regexp pattern strings that are matched against all test paths, // matched tests are skipped testPathIgnorePatterns: [ '/gulp/', '/node_modules/', ], };