YUNOVA · Angular · Module 9: Testing Angular apps
Unit testing with Jasmine and Karma
Unit testing with Jasmine and Karma
Key points
- Jasmine gives describe, it and expect to write test specs.
- Karma runs the specs in a real browser and reports results.
- ng test starts Karma and reruns tests when files change.