Files
brewman/overlord/src/app/purchase-entries/purchase-entries.service.spec.ts
T
2024-05-31 10:13:42 +05:30

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();
}));
});