Chore: environment file replacement stopped. Chore: All components are now standalone and removed all modules Chore: App routing is now in app.routes and similarly for all submodules Chore: Http interceptors are now functional and split refresh interceptor into a separate one.
23 lines
670 B
TypeScript
23 lines
670 B
TypeScript
import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing';
|
|
|
|
import { PeriodListComponent } from './period-list.component';
|
|
|
|
describe('PeriodListComponent', () => {
|
|
let component: PeriodListComponent;
|
|
let fixture: ComponentFixture<PeriodListComponent>;
|
|
|
|
beforeEach(fakeAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [ReactiveFormsModule, RouterTestingModule, PeriodListComponent],
|
|
}).compileComponents();
|
|
|
|
fixture = TestBed.createComponent(PeriodListComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
}));
|
|
|
|
it('should compile', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|