You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing tests for my lambda function but when I'm using @sentry/serverless and wrap my lambda function with AWSLambda.wrapHandler mocha shows Promise rejected with no or falsy reason.
IMO this is really bad, because it makes it almost impossible to know what the issue is without hunting around in the code, since there's no stack trace that'll point to this line.
I'm writing tests for my lambda function but when I'm using @sentry/serverless and wrap my lambda function with
AWSLambda.wrapHandler
mocha showsPromise rejected with no or falsy reason
.Sample Lambda function:
Sample test(not working as expected):
But if I directly call
exports.actualLambda
function test will be passed. like below:Sample test:
The text was updated successfully, but these errors were encountered: