Unit testing
mmuller88 opened this issue · comments
Hi I'm trying to write a unit test for the stream response but I having a super hard time.
How can the unit test here https://github.com/astuyve/lambda-stream/blob/main/test/simpleHandler.spec.ts wort at all? I mean the Lambda expects two arguments but there is only a string provided. Does this unit test work at all? If so how?