test(coverage): ignore lib/*.js coverage

This commit is contained in:
Clark Du 2018-03-29 17:30:16 +08:00
parent 0648917088
commit 026541516e
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -3,7 +3,8 @@ module.exports = {
coverageDirectory: './coverage/',
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/lib/builder/webpack/plugins/vue'
'<rootDir>/lib/builder/webpack/plugins/vue',
'<rootDir>/lib/[^/]*\\.js'
],
setupTestFrameworkScriptFile: './test/utils/setup',
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],