Angular 101 🅰️ Testing — Component and Service Tests
The previous chapter covered the testing infrastructure: Jasmine for the test syntax, Karma for the test runner, TestBed for the testing module, and ComponentFixture for the component wrapper. This chapter goes deeper into the two most common kinds of tests in an Angular application: component tests and service tests. They are different because components have…