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