File tree Expand file tree Collapse file tree
lambdas/functions/control-plane/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -460,8 +460,10 @@ describe('create runner with errors', () => {
460460
461461 it ( 'test ScaleError with custom scale error.' , async ( ) => {
462462 createFleetMockWithErrors ( [ 'CustomAWSError' ] ) ;
463-
464- await expect ( createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ) . rejects . toBeInstanceOf ( ScaleError ) ;
463+
464+ await expect (
465+ createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ,
466+ ) . rejects . toBeInstanceOf ( ScaleError ) ;
465467 expect ( mockEC2Client ) . toHaveReceivedCommandWith (
466468 CreateFleetCommand ,
467469 expectedCreateFleetRequest ( defaultExpectedFleetRequestValues ) ,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export async function adjust(event: PoolEvent): Promise<void> {
9898 amiIdSsmParameterName,
9999 tracingEnabled,
100100 onDemandFailoverOnError,
101- customScaleErrors
101+ customScaleErrors,
102102 } ,
103103 topUp ,
104104 githubInstallationClient ,
You can’t perform that action at this time.
0 commit comments