mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
cleanup json notation, make eslint happy
This commit is contained in:
parent
8fad3cec2f
commit
3d8154c47b
@ -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(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user