Chore: Upgraded to Angular v18
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
||||
import { TestBed, inject } from '@angular/core/testing';
|
||||
|
||||
import { IssueGridService } from './issue-grid.service';
|
||||
@@ -6,8 +6,8 @@ import { IssueGridService } from './issue-grid.service';
|
||||
describe('IssueGridService', () => {
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [HttpClientModule],
|
||||
providers: [IssueGridService],
|
||||
imports: [],
|
||||
providers: [IssueGridService, provideHttpClient(withInterceptorsFromDi())],
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user