docs(angular): add testing services content (#6914)

This commit is contained in:
J. Degand
2024-09-01 12:42:43 +01:00
committed by GitHub
parent 512de27478
commit 0b4137e3bd
@@ -1 +1,8 @@
# Testing Services
# Testing Services
To ensure your services function as expected, you can write dedicated tests for them. Services are typically the easiest files to unit test. You can instantiate the service within a `beforeEach` block, invoke its methods, and assert the results.
Visit the following resources to learn more:
- [@official@Angular Official Docs - Testing Services](https://angular.dev/guide/testing/services)
- [@video@Step by Step implementation of the Calculator Service with Jasmine Specification](https://www.youtube.com/watch?v=yoJDYEq8vSs)