cleanup json notation, make eslint happy

This commit is contained in:
Sander van de Graaf 2016-07-27 15:04:35 +02:00
parent 8fad3cec2f
commit 3d8154c47b

View File

@ -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(() => {