You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bin/nyc.js
+2-1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ try {
10
10
varprocessArgs=require('../lib/process-args')
11
11
12
12
varsw=require('spawn-wrap')
13
+
vartestExclude=require('test-exclude')
13
14
varwrapper=require.resolve('./wrap.js')
14
15
varYargs=require('yargs/yargs')
15
16
@@ -183,7 +184,7 @@ function buildYargs () {
183
184
})
184
185
.option('exclude',{
185
186
alias: 'x',
186
-
default: [],
187
+
default: testExclude.defaultExclude,
187
188
describe: 'a list of specific files and directories that should be excluded from coverage, glob patterns are supported, node_modules is always excluded'
0 commit comments