dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.72k stars 166 forks source link

Add integration tests #28

Closed dougmoscrop closed 6 years ago

dougmoscrop commented 6 years ago

Should probably copy from here as a starting point:

https://github.com/dougmoscrop/serverless-plugin-split-stacks/blob/master/__tests__/_integration.js

I would like to be able to run a bunch of tests to confirm that it works within the Lambda environment as opposed to just the local code.

dougmoscrop commented 6 years ago

It's not great, but it worked! https://github.com/dougmoscrop/serverless-http/commit/52f82a083e2b7653b9efbf6cdb2a20b8245f312e