News for hackers. Stuff that matters.
Re:How to Test Private Functions in JS Modules by gaelow on Tuesday July 29, 2014 @07:30PM (#8105570)
"Private methods of modules should not be tested, since they don't represent the public interface of the module and refactorings are likely to change the private methods"

+1 to that.

There are no comments on this comment yet.