1 import { TestBed, async } from '@angular/core/testing';
2 import { RouterTestingModule } from '@angular/router/testing';
3 import { AppComponent } from './app.component';
5 describe('AppComponent', () => {
6 beforeEach(async(() => {
7 TestBed.configureTestingModule({
15 }).compileComponents();
18 it('should create the app', async(() => {
19 const fixture = TestBed.createComponent(AppComponent);
20 const app = fixture.debugElement.componentInstance;
21 expect(app).toBeTruthy();
24 it(`should have as title 'controlpanelApp'`, async(() => {
25 const fixture = TestBed.createComponent(AppComponent);
26 const app = fixture.debugElement.componentInstance;
27 expect(app.title).toEqual('controlpanelApp');