mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
test(coverage): collect coverage from all js by default
This commit is contained in:
parent
894a2f31b6
commit
0fb9b54fe0
@ -2,6 +2,7 @@ module.exports = {
|
|||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
coverageDirectory: './coverage/',
|
coverageDirectory: './coverage/',
|
||||||
collectCoverageFrom: [
|
collectCoverageFrom: [
|
||||||
|
'<rootDir>/**/*.js',
|
||||||
'!<rootDir>/lib/builder/webpack/plugins/vue/'
|
'!<rootDir>/lib/builder/webpack/plugins/vue/'
|
||||||
],
|
],
|
||||||
setupTestFrameworkScriptFile: './test/utils/setup',
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
||||||
|
Loading…
Reference in New Issue
Block a user