mock.calls[0][0]
kaihendry opened this issue · 0 comments
kaihendry commented
Hi there! Is there a better way to inspect parameters passed to a mocked Lambda invoke call here?
https://github.com/kaihendry/aws-jest-lambda/blob/main/__tests__/handler.test.js#L17
I find accessing parameters via mock.calls[0][0]
awkward. Maybe I'm too sensitive? Haha
Thanks again,