aws-lambda-mock-context
aws-lambda-mock-context copied to clipboard
Clears timeout on calling done()
Aims to prevent this situation from occurring when running within a Jest test, I assume as a result of the timeout executing after the done() callback is called:
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
> 76 | mockContext = AWSMockLambdaContext({
| ^
77 | timeout: 3
78 | });
79 |
at Object.<anonymous>.module.exports.options [as default] (node_modules/aws-lambda-mock-context/index.js:66:2)
Also having this issue. Any update on this pull request?
Hello, any news on this ? Thanks.