refactor: ignore coverage of test dir

This commit is contained in:
Clark Du 2018-04-06 23:42:54 +08:00
parent ba4aa6dc09
commit c9f942d685
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>/test/',
'<rootDir>/lib/builder/webpack/plugins/vue/',
'<rootDir>/lib/[^/]*\\.js'
],
setupTestFrameworkScriptFile: './test/utils/setup',