@@ -12,7 +12,6 @@ if (common.isIBMi)
1212common . skipIfInspectorDisabled ( ) ;
1313
1414describe ( 'watch mode - inspect' , ( ) => {
15- const silentLogger = { log : ( ) => { } , error : ( ) => { } } ;
1615 async function getDebuggedPid ( instance , waitForLog = true ) {
1716 const session = await instance . connectInspectorSession ( ) ;
1817 await session . send ( { method : 'Runtime.enable' } ) ;
@@ -28,7 +27,7 @@ describe('watch mode - inspect', () => {
2827
2928 it ( 'should start debugger on inner process' , async ( ) => {
3029 const file = fixtures . path ( 'watch-mode/inspect.js' ) ;
31- const instance = new NodeInstance ( [ '--inspect=0' , '--watch' ] , undefined , file , silentLogger ) ;
30+ const instance = new NodeInstance ( [ '--inspect=0' , '--watch' ] , undefined , file ) ;
3231 let stderr = '' ;
3332 instance . on ( 'stderr' , ( data ) => { stderr += data ; } ) ;
3433
@@ -48,7 +47,7 @@ describe('watch mode - inspect', () => {
4847
4948 it ( 'should prevent attaching debugger with SIGUSR1 to outer process' , { skip : common . isWindows } , async ( ) => {
5049 const file = fixtures . path ( 'watch-mode/inspect_with_signal.js' ) ;
51- const instance = new NodeInstance ( [ '--inspect-port=0' , '--watch' ] , undefined , file , silentLogger ) ;
50+ const instance = new NodeInstance ( [ '--inspect-port=0' , '--watch' ] , undefined , file ) ;
5251 let stderr = '' ;
5352 instance . on ( 'stderr' , ( data ) => { stderr += data ; } ) ;
5453
0 commit comments