2016-04-13 19:20:51 +02:00
|
|
|
// #docregion
|
2016-08-17 20:52:25 +02:00
|
|
|
import { TestBed } from '@angular/core/testing';
|
2016-04-13 19:20:51 +02:00
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
|
|
|
describe('App', () => {
|
2016-08-09 17:38:25 +01:00
|
|
|
beforeEach(() => {
|
2016-08-17 20:52:25 +02:00
|
|
|
TestBed.configureTestingModule({ declarations: [AppComponent]});
|
2016-08-09 17:38:25 +01:00
|
|
|
});
|
2016-04-13 19:20:51 +02:00
|
|
|
|
2016-08-17 20:52:25 +02:00
|
|
|
it ('should work', () => {
|
|
|
|
let fixture = TestBed.createComponent(AppComponent);
|
|
|
|
expect(fixture.componentInstance instanceof AppComponent).toBe(true, 'should create AppComponent');
|
|
|
|
});
|
2016-04-13 19:20:51 +02:00
|
|
|
});
|
|
|
|
// #enddocregion
|