Skip to content

Commit b905d70

Browse files
committed
...
1 parent 179fd57 commit b905d70

File tree

2 files changed

+52
-40
lines changed

2 files changed

+52
-40
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import { DebugElement } from '@angular/core';
2+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3+
import { By } from '@angular/platform-browser';
4+
import { COURSES } from '../../../../server/db-data';
5+
import { setupCourses } from '../common/setup-test-data';
6+
import { CoursesModule } from '../courses.module';
7+
import { sortCoursesBySeqNo } from '../home/sort-course-by-seq';
8+
import { Course } from '../model/course';
9+
import { CoursesCardListComponent } from './courses-card-list.component';
10+
11+
12+
13+
14+
describe('CoursesCardListComponent', () => {
15+
16+
17+
//init our test
18+
beforeEach(() => {
19+
20+
//setting up testing module and provide the dependencies
21+
22+
TestBed.configureTestingModule({
23+
24+
imports: [CoursesModule]
25+
26+
27+
})
28+
})
29+
it("should create the component", () => {
30+
31+
pending();
32+
33+
});
34+
35+
36+
it("should display the course list", () => {
37+
38+
pending();
39+
40+
});
41+
42+
43+
it("should display the first course", () => {
44+
45+
pending();
46+
47+
});
48+
49+
50+
});
51+
52+

src/app/courses/courses-card-list/courses-card-list.component.ts.TODO

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)