import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AvropComponent } from './avrop.component'; describe('CallOffComponent', () => { let component: AvropComponent; let fixture: ComponentFixture; beforeEach( waitForAsync(() => { TestBed.configureTestingModule({ declarations: [AvropComponent], imports: [RouterTestingModule], }).compileComponents(); }) ); beforeEach(() => { fixture = TestBed.createComponent(AvropComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });