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