VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Epic: Create true unit tests for backend routers

Open dannyprikaz opened this issue 9 months ago • 0 comments

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
  • [ ] #1885
  • [x] #1886
  • [x] #1887
  • [ ] #1888
  • [ ] #1889
  • [ ] #1890
  • [x] #1891
  • [ ] #1892
  • [x] #1893
  • [x] #1894
  • [ ] #1895
  • [ ] #1896

Resources/Instructions

https://jestjs.io/docs/getting-started

dannyprikaz avatar Mar 25 '25 00:03 dannyprikaz