Install Jasmine
Learn how to install the Jasmine testing framework.
Installing Jasmine in an Angular application
By default, when we create an Angular application, it will come with the Jasmine testing framework and the Karma test runner installed. These are both installed using npm
(Node Package Manager). When we create a component or service using the Angular CLI, a skeleton test file is automatically created for us. We can open the test file, with a .spec.ts
extension, and start writing our test code.