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 @@ -459,8 +459,10 @@ describe('create runner with errors', () => {
459459
460460 it ( 'test ScaleError with custom scale error.' , async ( ) => {
461461 createFleetMockWithErrors ( [ 'CustomAWSError' ] ) ;
462-
463- await expect ( createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ) . rejects . toBeInstanceOf ( ScaleError ) ;
462+
463+ await expect (
464+ createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ,
465+ ) . rejects . toBeInstanceOf ( ScaleError ) ;
464466 expect ( mockEC2Client ) . toHaveReceivedCommandWith (
465467 CreateFleetCommand ,
466468 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