cal.pub0.org/apps/web/test
Alex van Andel 297a965508
Bugfix/i3531 round robin assigns to unavailable members (#3813)
* wip commit

* Finished new algorithm for fetching the least recently booked user

* ROUND_ROBIN fix

* Removed redundant import

* Prisma dependency turned getLuckyUser into a server-only function

* DRY avatars

* Properly passThrough

* name can be undefined.

* Remove debug artefact
2022-08-15 13:52:01 -06:00
..
lib Bugfix/i3531 round robin assigns to unavailable members (#3813) 2022-08-15 13:52:01 -06:00
.env.test.example Add getSchedule tests (#3233) 2022-07-21 10:44:23 -06:00
README.md Feat/design system (#3051) 2022-07-22 18:39:50 -06:00
docker-compose.yml Add getSchedule tests (#3233) 2022-07-21 10:44:23 -06:00

README.md

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 getSchedule

Tip: Use --watchAll flag to run tests on every change