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', () => {
6868} ) ;
6969
7070async 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' ] ) ;
7272 should . exist ( stdout ) ;
7373}
7474
7575async 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' ] ) ;
7777 should . exist ( stdout ) ;
7878}
7979
8080async 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' ] ) ;
8282 should . exist ( stdout ) ;
8383}
You can’t perform that action at this time.
0 commit comments