File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
lambdas/functions/control-plane/src Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -420,8 +420,10 @@ describe('create runner with errors', () => {
420420
421421 it ( 'test ScaleError with custom scale error.' , async ( ) => {
422422 createFleetMockWithErrors ( [ 'CustomAWSError' ] ) ;
423-
424- await expect ( createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ) . rejects . toBeInstanceOf ( ScaleError ) ;
423+
424+ await expect (
425+ createRunner ( createRunnerConfig ( { ...defaultRunnerConfig , customScaleErrors : [ 'CustomAWSError' ] } ) ) ,
426+ ) . rejects . toBeInstanceOf ( ScaleError ) ;
425427 expect ( mockEC2Client ) . toHaveReceivedCommandWith (
426428 CreateFleetCommand ,
427429 expectedCreateFleetRequest ( defaultExpectedFleetRequestValues ) ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export async function adjust(event: PoolEvent): Promise<void> {
9999 amiIdSsmParameterName,
100100 tracingEnabled,
101101 onDemandFailoverOnError,
102- customScaleErrors
102+ customScaleErrors,
103103 } ,
104104 githubInstallationClient ,
105105 ) ;
You can’t perform that action at this time.
0 commit comments