Skip to main content
3 events
when toggle format what by license comment
Dec 13, 2011 at 11:36 comment added StevenMcD We can agree is disagree on that. Our javascript codebase is massive and we only expose a handleful of public functions/properties on some of our classes. A lot of logic is handled in those private functions. I only public a private method so the testing framework has access to it. If the constructor is not called correctly then the private function is not returned.
Dec 13, 2011 at 11:10 comment added Andreas Köberle If you publish your privat method it's not privat anymore. Btw, as I described in my answer it make not much sense to test privat method.
Dec 13, 2011 at 7:31 history answered StevenMcD CC BY-SA 3.0