From 13a6c4903205d1fec914f85df7290d324397c9ca Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 10 Oct 2019 22:02:20 -0400 Subject: [PATCH] test: exclude template-explorer from coverage --- jest.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index c29c189b..fc8cb8e4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,7 +9,10 @@ module.exports = { }, coverageDirectory: 'coverage', coverageReporters: ['html', 'lcov', 'text'], - collectCoverageFrom: ['packages/*/src/**/*.ts'], + collectCoverageFrom: [ + 'packages/*/src/**/*.ts', + '!packages/template-explorer/**' + ], watchPathIgnorePatterns: ['/node_modules/'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], moduleNameMapper: {