Product-List aus Tutorial übernommen (direkt mit Erweiterungen)
[examples/angular-tutorial] / src / app / product-list / product-list.component.spec.ts
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { ProductListComponent } from './product-list.component';
4
5 describe('ProductListComponent', () => {
6   let component: ProductListComponent;
7   let fixture: ComponentFixture<ProductListComponent>;
8
9   beforeEach(async(() => {
10     TestBed.configureTestingModule({
11       declarations: [ ProductListComponent ]
12     })
13     .compileComponents();
14   }));
15
16   beforeEach(() => {
17     fixture = TestBed.createComponent(ProductListComponent);
18     component = fixture.componentInstance;
19     fixture.detectChanges();
20   });
21
22   it('should create', () => {
23     expect(component).toBeTruthy();
24   });
25 });