Epic: Create true unit tests for backend routers
Open
complexity: medium
Epic/Overview
feature: Infrastructure
role: Back End
size: Epic
- Dominant language
- JavaScript
- Stars
- 61
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
### Overview
Current tests for backend routers are creating MongoMemoryServers for each test suite and testing the functionality of more than just the routers themselves. We need to create new unit tests that isolate the functionality of the routers by mocking all other dependencies.
### Action Items
Check off these items once tests have been created for each route in each router.
- [x] #1881
- [x] #1885
- [x] #1886
- [x] #1887
- [x] #1888
- [ ] #1889
- [x] #1890
- [x] #1891
- [x] #1892
- [x] #1893
- [x] #1894
- [ ] #1895
- [ ] #1896
### Resources/Instructions
https://jestjs.io/docs/getting-started
Contributor guide
Assessment
This issue has not been assessed yet.