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