test: exclude template-explorer from coverage

This commit is contained in:
Evan You 2019-10-10 22:02:20 -04:00
parent 26ab5f62cd
commit 13a6c49032

View File

@ -9,7 +9,10 @@ module.exports = {
}, },
coverageDirectory: 'coverage', coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'], coverageReporters: ['html', 'lcov', 'text'],
collectCoverageFrom: ['packages/*/src/**/*.ts'], collectCoverageFrom: [
'packages/*/src/**/*.ts',
'!packages/template-explorer/**'
],
watchPathIgnorePatterns: ['/node_modules/'], watchPathIgnorePatterns: ['/node_modules/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
moduleNameMapper: { moduleNameMapper: {