348 Views
Let's talk about writing unit tests for JavaScript / Node applications. Yeah, you know you "should be writing tests". And you actually have been! Writing tests for functions that return some value: you know how to do that. You feel comfortable writing tests for expected output values, like true or some string or toBeDefined.
0 comments