Know what to test using these recipes: Node service that calls a database – Corey Cleary
If you've ever gone through a JavaScript or Node unit testing tutorial, it can be difficult to find anything that shows you what you should be testing - what scenarios to cover, what to write tests for, etc.
coreycleary.me