18 lines
527 B
TypeScript
18 lines
527 B
TypeScript
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
import { inject, TestBed } from '@angular/core/testing';
|
|
|
|
import { EntriesService } from './entries.service';
|
|
|
|
describe('EntriesService', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [],
|
|
providers: [EntriesService, provideHttpClient(withInterceptorsFromDi())],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([EntriesService], (service: EntriesService) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|