Sample application that has integration-tests on Azure Function apps with jest
npm install
Copy local.settings-SAMPLE.json
and name it local.settings.json
.
Create a MongoDB database (your db for testing purposes).
Add connection string to local.settings.json
npm test
or npm run test:watch
npm start