diff --git a/lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js b/lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js index 48f2a74df..ea30263a9 100644 --- a/lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js +++ b/lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js @@ -163,13 +163,13 @@ describe('#compileMethods()', () => { it('should set the correct lambdaUri', () => { const lambdaUriObject = { - 'Fn::Join': ['', [ - 'arn:aws:apigateway:', - { Ref: 'AWS::Region' }, - ':lambda:path/2015-03-31/functions/', - { 'Fn::GetAtt': ['first', 'Arn'] }, - '/invocations' // eslint-disable-line comma-dangle - ]] // eslint-disable-line comma-dangle + 'Fn::Join': [ + '', [ + 'arn:aws:apigateway:', { Ref: 'AWS::Region' }, + ':lambda:path/2015-03-31/functions/', { 'Fn::GetAtt': ['first', 'Arn'] }, + '/invocations', + ], + ], }; return awsCompileApigEvents.compileMethods().then(() => {