learnstuff logo

Testing AngularJS

Unit testing practices have been part of the development process for a long time. AngularJS is fully covered by tests made by the development team. It stands to reason that the code we write in AngularJS also follows the same practice. Learn how to use Karma and Jasmine to test controllers, directives and services and learn how to use mocks to ensure that you can test the AngularJS elements in isolation.