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