@@ -71,18 +71,18 @@ export function setup(ensureStableCode: () => string | undefined, logger: Logger
7171 } ) ;
7272
7373 it ( 'verifies that "hot exit" works for dirty files (without delay)' , function ( ) {
74- return testHotExit . call ( this , 'test_verifies_that_hot_exit_works_for_dirty_files_without_delay' , undefined ) ;
74+ return testHotExit . call ( this , 'test_verifies_that_hot_exit_works_for_dirty_files_without_delay' , undefined , undefined ) ;
7575 } ) ;
7676
7777 it ( 'verifies that "hot exit" works for dirty files (with delay)' , function ( ) {
78- return testHotExit . call ( this , 'test_verifies_that_hot_exit_works_for_dirty_files_with_delay' , 2000 ) ;
78+ return testHotExit . call ( this , 'test_verifies_that_hot_exit_works_for_dirty_files_with_delay' , 2000 , undefined ) ;
7979 } ) ;
8080
8181 it ( 'verifies that auto save triggers on shutdown' , function ( ) {
8282 return testHotExit . call ( this , 'test_verifies_that_auto_save_triggers_on_shutdown' , undefined , true ) ;
8383 } ) ;
8484
85- async function testHotExit ( title : string , restartDelay : number | undefined , autoSave : boolean | undefined ) {
85+ async function testHotExit ( this : import ( 'mocha' ) . Context , title : string , restartDelay : number | undefined , autoSave : boolean | undefined ) {
8686 app = createApp ( {
8787 ...this . defaultOptions ,
8888 logsPath : suiteLogsPath ( this . defaultOptions , title ) ,
@@ -201,7 +201,7 @@ export function setup(ensureStableCode: () => string | undefined, logger: Logger
201201 return testHotExit . call ( this , `test_verifies_that_hot_exit_works_for_dirty_files_with_delay_from_stable` , 2000 ) ;
202202 } ) ;
203203
204- async function testHotExit ( title : string , restartDelay : number | undefined ) {
204+ async function testHotExit ( this : import ( 'mocha' ) . Context , title : string , restartDelay : number | undefined ) {
205205 const stableCodePath = ensureStableCode ( ) ;
206206 if ( ! stableCodePath ) {
207207 this . skip ( ) ;
0 commit comments