File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,16 +68,16 @@ describe('182. deferLibInit.js', () => {
68
68
} ) ;
69
69
70
70
async function positiveCase ( ) {
71
- const { stdout } = await execFile ( 'node_modules/.bin/mocha' , [ 'test/deferLibInit1.js' ] ) ;
71
+ const { stdout } = await execFile ( process . argv [ 1 ] , [ 'test/deferLibInit1.js' ] ) ;
72
72
should . exist ( stdout ) ;
73
73
}
74
74
75
75
async function negativeCase ( ) {
76
- const { stdout } = await execFile ( 'node_modules/.bin/mocha' , [ 'test/deferLibInit2.js' ] ) ;
76
+ const { stdout } = await execFile ( process . argv [ 1 ] , [ 'test/deferLibInit2.js' ] ) ;
77
77
should . exist ( stdout ) ;
78
78
}
79
79
80
80
async function callMethodCase ( ) {
81
- const { stdout } = await execFile ( 'node_modules/.bin/mocha' , [ 'test/deferLibInit3.js' ] ) ;
81
+ const { stdout } = await execFile ( process . argv [ 1 ] , [ 'test/deferLibInit3.js' ] ) ;
82
82
should . exist ( stdout ) ;
83
83
}
You can’t perform that action at this time.
0 commit comments