import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { PeriodListComponent } from './period-list.component'; describe('PeriodListComponent', () => { let component: PeriodListComponent; let fixture: ComponentFixture; beforeEach(fakeAsync(() => { TestBed.configureTestingModule({ imports: [ReactiveFormsModule, RouterTestingModule], declarations: [PeriodListComponent], }).compileComponents(); fixture = TestBed.createComponent(PeriodListComponent); component = fixture.componentInstance; fixture.detectChanges(); })); it('should compile', () => { expect(component).toBeTruthy(); }); });