View Post

The Easiest Way To Mock Dependencies In AngularJS Unit Tests

In Work by MatthiasLeave a Comment

At my day job, we’ve recently embarked on a project to improve our test coverage for our AngularJS based mobile site, which currently sits at a measly 40%. So I’ve been writing lots of unit tests lately and keep trying to find ways to make this tedious process a little bit easier and more enjoyable. A few days ago I┬ádiscovered …