Skip to content

Conversation

@jng34
Copy link
Member

@jng34 jng34 commented Apr 28, 2025

Fixes #1887

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

  • Wrote unit tests for checkUser.router

Screenshot of test suite

image

@JackHaeg JackHaeg requested a review from dannyprikaz May 15, 2025 22:45
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.

Looks good to me. If I were going to nit-pick, I would say that we're not really "CREATE"ing anything on that post method, so we don't need to label it with that name from the CRUD interface convention, but the tests work. I'm happy with it.

@dannyprikaz dannyprikaz merged commit 08f0a2c into hackforla:development May 26, 2025
3 of 5 checks passed
@jng34 jng34 deleted the unitTestingForCheckUsers 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/checkUsers.router.js

2 participants