File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dev-packages/node-integration-tests/utils Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -365,15 +365,16 @@ export function createRunner(...paths: string[]) {
365
365
}
366
366
}
367
367
368
- const serverStartup = withSentryServer
368
+ const serverStartup : Promise < [ port : number | undefined , close : ( ( ) => void ) | undefined ] > = withSentryServer
369
369
? createBasicSentryServer ( newEnvelope )
370
370
: Promise . resolve ( [ undefined , undefined ] ) ;
371
371
372
372
const dockerStartup : Promise < VoidFunction | undefined > = dockerOptions
373
373
? runDockerCompose ( dockerOptions )
374
374
: Promise . resolve ( undefined ) ;
375
375
376
- const startup = Promise . all ( [ dockerStartup , serverStartup ] ) ;
376
+ const startup : Promise < [ VoidFunction | undefined , [ port : number | undefined , close : ( ( ) => void ) | undefined ] ] > =
377
+ Promise . all ( [ dockerStartup , serverStartup ] ) ;
377
378
378
379
startup
379
380
. then ( ( [ dockerChild , [ mockServerPort , mockServerClose ] ] ) => {
You can’t perform that action at this time.
0 commit comments