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