▲ How to Unit Test Private Functions in JavaScript at philipwalton.com▼7 up and 1 down, posted by echojs 4154 days ago 6 comments
nekgrim 4154 days ago. link parent 2 points ▲ ▼Testing the private functions to know which one is buggy is a better option, IMHO. The last part of the article, with private testing / stripping debugging variable / public testing, looks like a good practice.