aws-lambda-mock-context
aws-lambda-mock-context copied to clipboard
Add the ability to clearTimeout on the context
To get tests working in jest without holding onto open handles one needs a way to clear the timeout after tests have run. Susggest that you add a method to the context e.g. context.release = () => clearTimeOut(timer)