Angular 11 Tutorial – Unit Testing in Angular 11
It uses Karma for unit testing
Karma is a framework for unit testing in Angular. It allows developers to write tests that run on a variety of devices, such as consoles and mobile devices. It can also be used to replace other testing frameworks, such as Jasmine. In addition, Karma can integrate with various continuous integration services. In this tutorial, we’ll use Karma to test controllers and custom directives.