@@ -71,18 +71,18 @@ export function setup(ensureStableCode: () => string | undefined, logger: Logger
71
71
} ) ;
72
72
73
73
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 ) ;
75
75
} ) ;
76
76
77
77
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 ) ;
79
79
} ) ;
80
80
81
81
it ( 'verifies that auto save triggers on shutdown' , function ( ) {
82
82
return testHotExit . call ( this , 'test_verifies_that_auto_save_triggers_on_shutdown' , undefined , true ) ;
83
83
} ) ;
84
84
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 ) {
86
86
app = createApp ( {
87
87
...this . defaultOptions ,
88
88
logsPath : suiteLogsPath ( this . defaultOptions , title ) ,
@@ -201,7 +201,7 @@ export function setup(ensureStableCode: () => string | undefined, logger: Logger
201
201
return testHotExit . call ( this , `test_verifies_that_hot_exit_works_for_dirty_files_with_delay_from_stable` , 2000 ) ;
202
202
} ) ;
203
203
204
- async function testHotExit ( title : string , restartDelay : number | undefined ) {
204
+ async function testHotExit ( this : import ( 'mocha' ) . Context , title : string , restartDelay : number | undefined ) {
205
205
const stableCodePath = ensureStableCode ( ) ;
206
206
if ( ! stableCodePath ) {
207
207
this . skip ( ) ;
0 commit comments