]>
Commit | Line | Data |
---|---|---|
f67539c2 | 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; |
11fdf7f2 TL |
2 | import { RouterTestingModule } from '@angular/router/testing'; |
3 | ||
f67539c2 | 4 | import { configureTestBed } from '~/testing/unit-test-helper'; |
11fdf7f2 | 5 | import { AppComponent } from './app.component'; |
11fdf7f2 TL |
6 | |
7 | describe('AppComponent', () => { | |
8 | let component: AppComponent; | |
9 | let fixture: ComponentFixture<AppComponent>; | |
10 | ||
f67539c2 TL |
11 | configureTestBed({ |
12 | declarations: [AppComponent], | |
13 | imports: [RouterTestingModule] | |
14 | }); | |
11fdf7f2 TL |
15 | |
16 | beforeEach(() => { | |
17 | fixture = TestBed.createComponent(AppComponent); | |
18 | component = fixture.componentInstance; | |
19 | fixture.detectChanges(); | |
20 | }); | |
21 | ||
22 | it('should create', () => { | |
23 | expect(component).toBeTruthy(); | |
24 | }); | |
25 | }); |