84408025ed
* perf: pre-load booking data for all users * Fixing property issues * Fixes * Removed unwanted console.log * Made comment for intention of refactor more clear * fix: types * _count is optional * Assign to const bookings * Added mock for prisma booking * Fixed unit tests * Added lint ignore for prisma field * Update bookingScenario.ts * Fix linting --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
utils | ||
.env.test.example | ||
README.md | ||
docker-compose.yml | ||
jest-resolver.js | ||
jest-setup.js |
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