Chore: Upgraded to Angular v18
This commit is contained in:
1 parent
6e3c429db3
commit
e252680c65
43 files changed
+150
-144
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
||||
import { inject, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PurchaseEntriesService } from './purchase-entries.service';
|
||||
@@ -6,8 +6,8 @@ import { PurchaseEntriesService } from './purchase-entries.service';
|
||||
describe('PurchaseEntriesService', () => {
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [HttpClientModule],
|
||||
providers: [PurchaseEntriesService],
|
||||
imports: [],
|
||||
providers: [PurchaseEntriesService, provideHttpClient(withInterceptorsFromDi())],
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user