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 @@ -463,8 +463,10 @@ describe('create runner with errors', () => {
463463
464464 it ( 'test ScaleError with custom scale error.' , async ( ) => {
465465 createFleetMockWithErrors ( [ 'CustomAWSError' ] ) ;
466-
467- await expect ( createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ) . rejects . toBeInstanceOf ( ScaleError ) ;
466+
467+ await expect (
468+ createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ,
469+ ) . rejects . toBeInstanceOf ( ScaleError ) ;
468470 expect ( mockEC2Client ) . toHaveReceivedCommandWith (
469471 CreateFleetCommand ,
470472 expectedCreateFleetRequest ( defaultExpectedFleetRequestValues ) ,
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export async function adjust(event: PoolEvent): Promise<void> {
102102 amiIdSsmParameterName,
103103 tracingEnabled,
104104 onDemandFailoverOnError,
105- customScaleErrors
105+ customScaleErrors,
106106 } ,
107107 topUp ,
108108 githubInstallationClient ,
You can’t perform that action at this time.
0 commit comments