silent-po2/SOEN341

Create tests for program

Closed this issue · 1 comments

Make tests for the program and then run them (in vscode terminal) via typing in: npm run test
One such test has already been made and can be used as a basis/starting point for new tests

Specifically, one test we need is for the login function in usercontroller

  • Create tests
  • Run them

Test the loginPost function in userController
See my test for inspiration on how to work with http requests and Google how to do post requests because it's a bit different