Use jsdom test env

pull/352/head
Glen Cheney 3 years ago
parent bc6da3c8d8
commit eb01fb51da

@ -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',
};

Loading…
Cancel
Save