From 3d8154c47bdcee7b2be774cf0dfb90ab3d43a43d Mon Sep 17 00:00:00 2001 From: Sander van de Graaf Date: Wed, 27 Jul 2016 15:04:35 +0200 Subject: [PATCH] cleanup json notation, make eslint happy --- .../compile/events/apiGateway/tests/methods.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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(() => {