aws-lambda-mock-context
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "aws-lambda-mock-context", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "This library returns a mock context object that can be used to test lambda functions.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -47,3 +47,3 @@ # aws-lambda-mock-context | ||
// Call the handler method | ||
return index.handler({hello: 'world'}, this.ctx); | ||
return index.handler({hello: 'world'}, ctx); | ||
}).then(function() { | ||
@@ -50,0 +50,0 @@ // Test if the succeed method is called once |
4809