We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4e953f commit 02d22d0Copy full SHA for 02d22d0
src/app/courses/services/courses.service.spec.ts
@@ -0,0 +1,22 @@
1
+import { CoursesService } from "./courses.service";
2
+import { TestBed } from "@angular/core/testing";
3
+import { HttpClientTestingModule, HttpTestingController } from "@angular/common/http/testing";
4
+describe("CoursesService", () => {
5
+ let coursesService: CoursesService,
6
+ httpTestingController: HttpTestingController
7
+
8
+ beforeEach(() => {
9
+ TestBed.configureTestingModule({
10
+ imports: [HttpClientTestingModule],
11
+ providers: [CoursesService],
12
+ });
13
14
+ coursesService = TestBed.inject(CoursesService);
15
+ httpTestingController = TestBed.inject(HttpTestingController)
16
17
18
+ it('should retrieve all courses', () => {
19
20
21
+ })
22
+});
0 commit comments