This projects demonstrates how to test your lambdas using chai-http plugin. Before proceeding make sure you have installed Node.js and the SAM-CLI on your system.
cd layer/nodejs
npm install
cd ..
sam build
sam local start-api
cd tests
npm install
npm run test