import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialInventoryLabelPreviewComponent } from './material-inventory-label-preview.component'; describe('MaterialInventoryLabelPreviewComponent', () => { let component: MaterialInventoryLabelPreviewComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [MaterialInventoryLabelPreviewComponent], teardown: { destroyAfterEach: false } }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(MaterialInventoryLabelPreviewComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });