Newer
Older

Martin Mechtel
committed
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppRootComponent } from './app-root.component';

Martin Mechtel
committed
describe('AppRootComponent', () => {
let component: AppRootComponent;
let fixture: ComponentFixture<AppRootComponent>;

Martin Mechtel
committed
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppRootComponent
],
imports: [
RouterTestingModule
]

Martin Mechtel
committed
})

Martin Mechtel
committed
}));
beforeEach(() => {
fixture = TestBed.createComponent(AppRootComponent);

Martin Mechtel
committed
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});