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