You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
674 B
JavaScript
27 lines
674 B
JavaScript
5 years ago
|
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: [
|
||
|
'<rootDir>/gulp/',
|
||
|
'/node_modules/',
|
||
|
],
|
||
|
};
|