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 installcd ..
sam build
sam local start-apicd tests
npm install
npm run test