SFU-Blueprint / Pedals

Apache License 2.0
0 stars 0 forks source link

/api/checkin, /api/checkout, and /api/register Test Suites #61

Open dangminhduc1101 opened 1 month ago

dangminhduc1101 commented 1 month ago

Problem

API routes at /api/checkin, api/checkout, and /api/register are stable, but there are no testing for them yet.

Instructions

  1. Pull the latest changes from the develop branch.
  2. Start the server by running npm run dev (if necessary, navigate to the src/ folder and run npm ci)
  3. Update the route.test.ts files in the aforementioned folder. Ensure all possible cases from the original routes are covered and include detailed comments for clarity. Your code formatting will serve as a reference for other test suites.
  4. Submit a pull request and tag @dangminhduc1101 for review.