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