File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,16 @@ exports.builder = function (yargs) {
51
51
default : false ,
52
52
description : 'check thresholds per file'
53
53
} )
54
+ . option ( 'temp-dir' , {
55
+ alias : 't' ,
56
+ describe : 'directory to read raw coverage information from' ,
57
+ default : './.nyc_output' ,
58
+ global : false
59
+ } )
60
+ . option ( 'temp-directory' , {
61
+ hidden : true ,
62
+ global : false
63
+ } )
54
64
. example ( '$0 check-coverage --lines 95' , "check whether the JSON in nyc's output folder meets the thresholds provided" )
55
65
}
56
66
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const isWindows = require('is-windows')()
17
17
const spawn = require ( 'child_process' ) . spawn
18
18
const fixtures = path . resolve ( __dirname , './fixtures' )
19
19
const bin = path . resolve ( __dirname , '../self-coverage/bin/nyc' )
20
- const resetState = require ( './lib /reset-state' )
20
+ const resetState = require ( './helpers /reset-state' )
21
21
22
22
require ( 'chai' ) . should ( )
23
23
require ( 'tap' ) . mochaGlobals ( )
You can’t perform that action at this time.
0 commit comments