Skip to content

Comprehensive Testing Suite #15

Description

@levelslip
  • Description: Write automated tests using Jest and Supertest
  • Activities:
    • Setup test database environment and Prisma test client.
    • Unit tests for services (Auth, Token, Queue Calculation).
    • Integration tests via Supertest:
      • Full booking flow (Register → Book → Queue).
      • Role access prevention.
    • Mock external services (Mock the ML API axios calls, mock Redis).
    • Achieve ≥ 80% test coverage target.
  • Deliverables: Jest test suite, coverage reports, mocked external services

Metadata

Metadata

Assignees

Labels

FSFullstack Role

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions