Files
brewman/overlord/src/app/purchases/purchases.service.spec.ts

18 lines
539 B
TypeScript

import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { inject, TestBed } from '@angular/core/testing';
import { PurchasesService } from './purchases.service';
describe('PurchasesService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [],
providers: [PurchasesService, provideHttpClient(withInterceptorsFromDi())],
});
});
it('should be created', inject([PurchasesService], (service: PurchasesService) => {
expect(service).toBeTruthy();
}));
});