* refactor: GetAvailableSlotsService * chore: add todo comments where DI is needed * chore: bump platform libs * chore: fix unit tests * fix: only instantiate AvailableSlotsService once per service * Update packages/trpc/server/routers/viewer/slots/util.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * fix: bind this on all functions with reporting --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@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 getSchedule
Tip: Use --watchAll flag to run tests on every change