* Create 4 test cases to POST Attendees * Adjusted commented tips on PR * Adjusted isAdmin to isSystemWideAdmin * Removed req.isAdmin * Delete test-insights.csv --------- Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com> Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Unit and Integration Tests
Make sure you have copied .env.test.example to .env.test
You can run all jest tests as
yarn test
You can run tests matching specific description by following command
yarn test -t _post
Tip: Use --watchAll flag to run tests on every change