loading...

re: Testing Node.js + Mongoose with an in-memory database VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice article Paula! I kind of feel like there could be more assertions in your final it block though than just, "expect ... to not throw". To me...
 

Thanks!
I completely agree. I actually added an extra test to check if the product exists after creating it on the repo, but didn't include it here because I wanted to keep the examples for the article simple.

code of conduct - report abuse