Skip to main content
3 votes
Accepted

How to plan unit-test design/structure for Javascript?

There is no need to test that a function is a function or that it returns a string. What you need to test is that, for instance, when calling isEmptyStr and passing to it an empty string, it returns ...
Arseni Mourzenko's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible