Use runServerless utility for tests
Closed this issue ยท 3 comments
NoxHarmonium commented
To make the unit tests more robust we might be able to use the runServerless
utility that the serverless library uses for testing.
https://github.com/serverless/test/blob/master/docs/run-serverless.md#run-serverless
It will set up the context properly so we can test things like schema validation in unit tests.
NoxHarmonium commented
๐ This issue has been resolved in version 2.0.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐