nordcloud / lambda-wrapper

Wrapper for running lambda modules locally during development
MIT License
30 stars 17 forks source link

Add context object to run function #9

Closed laardee closed 7 years ago

laardee commented 7 years ago

When writing tests using the serverless mocha plugin, a context object is sometimes needed. For example, context.awsRequestId and context.lambdaName could be passed forward when using CloudWatch logs as an event trigger (see AWS Splunk blueprint).

Closes #8