diff --git a/jest.config.js b/jest.config.js index 9e8fc48eb1..63a28c03c7 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,8 +12,10 @@ module.exports = { '**/lighthouse-core/**/*.js', '**/lighthouse-cli/**/*.js', '**/lighthouse-viewer/**/*.js', - '!**/test/', - '!**/scripts/', + ], + coveragePathIgnorePatterns: [ + '/test/', + '/scripts/', ], setupFilesAfterEnv: ['./lighthouse-core/test/test-utils.js'], testEnvironment: 'node',