|
|
|
@ -6,21 +6,14 @@ module.exports = {
|
|
|
|
|
coverageDirectory: 'coverage',
|
|
|
|
|
|
|
|
|
|
// An array of regexp pattern strings used to skip coverage collection
|
|
|
|
|
coveragePathIgnorePatterns: [
|
|
|
|
|
'/node_modules/',
|
|
|
|
|
'/test/',
|
|
|
|
|
],
|
|
|
|
|
coveragePathIgnorePatterns: ['/node_modules/', '/test/'],
|
|
|
|
|
|
|
|
|
|
// A list of reporter names that Jest uses when writing coverage reports
|
|
|
|
|
coverageReporters: [
|
|
|
|
|
'text',
|
|
|
|
|
'lcov',
|
|
|
|
|
],
|
|
|
|
|
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/',
|
|
|
|
|
],
|
|
|
|
|
testPathIgnorePatterns: ['<rootDir>/gulp/', '/node_modules/'],
|
|
|
|
|
|
|
|
|
|
testEnvironment: 'jsdom',
|
|
|
|
|
};
|
|
|
|
|