Closed JPM1118 closed 5 years ago
Check out these 2 PRs. Ben (mentor) left some fantastic feedback for Ben (other Ben) on writing and organizing tests.
https://github.com/donthedeveloper/site-builder/pull/83 https://github.com/donthedeveloper/site-builder/pull/80
Definitely check out his comments on how to organize these tests within describe blocks. If you have any specific questions, feel free to DM me.
I read the comments from Ben's test PR's and I made some small changes, but I am still not entirely sure if I am writing these tests corrects. Hopefully, you can give me some feedback.
Also, should I be testing if node mailer sent a email successfully. If so, I not entirely sure how. Any pointers would be much appreciated. Thanks!
104
REQUIRES #84 to be merged
200
status on non-existent user.200
on existent user.