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