File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 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) {
5151 default : false ,
5252 description : 'check thresholds per file'
5353 } )
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+ } )
5464 . example ( '$0 check-coverage --lines 95' , "check whether the JSON in nyc's output folder meets the thresholds provided" )
5565}
5666
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const isWindows = require('is-windows')()
1717const spawn = require ( 'child_process' ) . spawn
1818const fixtures = path . resolve ( __dirname , './fixtures' )
1919const bin = path . resolve ( __dirname , '../self-coverage/bin/nyc' )
20- const resetState = require ( './lib /reset-state' )
20+ const resetState = require ( './helpers /reset-state' )
2121
2222require ( 'chai' ) . should ( )
2323require ( 'tap' ) . mochaGlobals ( )
You can’t perform that action at this time.
0 commit comments