Hacker News new | ask | show | jobs
by vtry 5068 days ago
Most frameworks it is not possible to do proper unit test. With Angular, you can actually do it. As the controller is totally separate from the view (html/dom).
1 comments

OK. I was just taking it for granted that it was easy, because the same is true in Knockout (viewmodels are entirely independent of views, and so are trivial to unit test with QUnit or whatever else).
Pretty much only Angular and KnockOut and maybe 1 other js framework can do real unit test