19 lines
565 B
TypeScript
19 lines
565 B
TypeScript
import { HttpClientModule } from '@angular/common/http';
|
|
import { inject, TestBed } from '@angular/core/testing';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
import { PeriodResolver } from './period-resolver.service';
|
|
|
|
describe('PeriodResolver', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [HttpClientModule, RouterTestingModule],
|
|
providers: [PeriodResolver],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([PeriodResolver], (service: PeriodResolver) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|