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