Skip to content

X. Running tests

Drikus Roor edited this page Dec 5, 2023 · 1 revision

Frontend tests

To run the frontend tests, run the following command:

docker compose run --rm client yarn test --watchAll=false

# or use the script
./scripts/test-frontend

Watch mode

To run the frontend tests in watch mode, which allows you to re-run tests when you change files, run the following command:

docker compose run --rm client yarn test

# or use the script
./scripts/test-frontend-watch

Backend tests

To run the backend tests, run the following command:

docker-compose run --rm server bash -c "python manage.py test"

# or use the script
./scripts/test-backend