Skip to content

Conversation

@jng34
Copy link
Member

@jng34 jng34 commented May 9, 2025

Fixes #1891

What changes did you make and why did you make them ?

  • Wrote unit tests for projects.router
  • Necessary to isolate and independently test each route to ensure functionality

Screenshots of Passed Tests

image

@JackHaeg JackHaeg requested a review from dannyprikaz May 15, 2025 22:44
Copy link
Member

@dannyprikaz dannyprikaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'should return an updated project with PUT /api/projects/:ProjectId' is a weird endpoint. It doesn't really feel like an "UPDATE" to me. I think it's ultimately a "READ," but I'm not too worried about it.

@dannyprikaz dannyprikaz merged commit 1e51ae5 into hackforla:development Jun 24, 2025
3 of 5 checks passed
@jng34 jng34 deleted the unitTestingForProjects branch September 23, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create New Unit Tests for ./backend/routers/projects.router.js

3 participants