1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RouterTestingModule } from '@angular/router/testing';
4 import { AppComponent } from './app.component';
6 describe('AppComponent', () => {
7 let component: AppComponent;
8 let fixture: ComponentFixture<AppComponent>;
10 beforeEach(async(() => {
11 TestBed.configureTestingModule({
12 declarations: [AppComponent],
13 imports: [RouterTestingModule]
14 }).compileComponents();
18 fixture = TestBed.createComponent(AppComponent);
19 component = fixture.componentInstance;
20 fixture.detectChanges();
23 it('should create', () => {
24 expect(component).toBeTruthy();