import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { InvoiceComponent } from './invoice.component'; describe('InvoiceComponent', () => { let component: InvoiceComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ InvoiceComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(InvoiceComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });