Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write tests #92

Open
4 of 12 tasks
Timothy-Gonzalez opened this issue Oct 17, 2023 · 0 comments
Open
4 of 12 tasks

Write tests #92

Timothy-Gonzalez opened this issue Oct 17, 2023 · 0 comments
Assignees

Comments

@Timothy-Gonzalez
Copy link
Member

Timothy-Gonzalez commented Oct 17, 2023

It's time to write tests. Here's a list of things we need to test, ideally to be completed in their own PRs (some may be combined if it makes sense). This issue will act as a central issue to track everything!

Services

Middleware

  • Tests for select-auth middleware
  • Tests for verify-jwt middleware

Misc

  • Tests for database.ts
    • A little weirder to test, but should be really simple to with a mock of mongoose.createConnection and getBaseURL

Config reader excluded since it shouldn't be middleware anyways

Finally, other misc thing that needs to be done:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants