Jorge Calderon
Jorge Calderon
Sorry, I left of the configuration in question. This is how I configured logging: ... logger: { name: 'MoscaServer', level: 'debug' }, ...
@aquibbaig , @dmahajan980 , look like a related issue was opened: https://github.com/postmanlabs/newman/pull/2270. Do you still want to work on this one (https://github.com/postmanlabs/newman/issues/2167)?
@nelsonic , sure, but I can do that after the underlying issue is identified/fixed. I see someone else is not able to mock Lambda invokes.
@TastefulElk , so it seems that the mock function when mocking Dynamo and Lambda takes a callback, but when mocking S3 and SNS, it takes a value. I would list...
@TastefulElk, I'm wondering if just doesn't work when you test a separate imported module that is the one importing AWS/invoking a Lambda. I don't have access to the original code...
@ryanhuff , I also have the same issue so I opened https://github.com/dwyl/aws-sdk-mock/issues/217. I just ended up mocking out the whole module that uses AWS, but this approach below might work...