Skip to content

Commit 547a10d

Browse files
author
David Hutchings
committed
Adding description support test
1 parent 04cd3ca commit 547a10d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/all.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe('node aws lambda module', function() {
2424
handler: 'helloworld.handler',
2525
role: 'arn:aws:iam:xxxxxx:rol/lambda-exec-role',
2626
functionName: 'helloworld',
27+
description: 'helloworld description',
2728
timeout: 10,
2829
memorySize: 128,
2930
eventSource: {
@@ -54,6 +55,7 @@ describe('node aws lambda module', function() {
5455
function(data, callback) {
5556
expect(data.Configuration).to.deep.equal({
5657
FunctionName: 'helloworld',
58+
Description: 'helloworld description',
5759
Handler: 'helloworld.handler',
5860
Role: 'arn:aws:iam:xxxxxx:rol/lambda-exec-role',
5961
Timeout: 10,
@@ -99,6 +101,7 @@ describe('node aws lambda module', function() {
99101
function(data, callback) {
100102
expect(data.Configuration).to.deep.equal({
101103
FunctionName: 'helloworld',
104+
Description: 'helloworld description',
102105
Handler: 'helloworld.handler',
103106
Role: 'arn:aws:iam:xxxxxx:rol/lambda-exec-role',
104107
Timeout: 20,

0 commit comments

Comments
 (0)