YUNOVA · Angular · Module 9: Testing Angular apps

Testing services and HTTP calls

Notes for offline study · 30 November 2026

Testing services and HTTP calls

Key points

  • Services can be tested directly or injected through TestBed.
  • HttpTestingController lets a test answer HTTP requests with fake data.
  • Call verify() so no unexpected requests are left open.

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.