From 0b4137e3bdba0c50ea27ab3ecdf19abcbbeee55b Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Sun, 1 Sep 2024 07:42:43 -0400 Subject: [PATCH] docs(angular): add testing services content (#6914) --- .../content/testing-services@HU1eTYB321C93qh_U7ioF.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/testing-services@HU1eTYB321C93qh_U7ioF.md b/src/data/roadmaps/angular/content/testing-services@HU1eTYB321C93qh_U7ioF.md index 9302496bc..f5061a243 100644 --- a/src/data/roadmaps/angular/content/testing-services@HU1eTYB321C93qh_U7ioF.md +++ b/src/data/roadmaps/angular/content/testing-services@HU1eTYB321C93qh_U7ioF.md @@ -1 +1,8 @@ -# Testing Services \ No newline at end of file +# 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) \ No newline at end of file