26 lines
809 B
TypeScript
26 lines
809 B
TypeScript
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<PeriodListComponent>;
|
|
|
|
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();
|
|
});
|
|
});
|