Chore: Upgraded to Angular v18

This commit is contained in:
2024-05-31 10:13:42 +05:30
parent 6e3c429db3
commit e252680c65
43 changed files with 150 additions and 144 deletions
+3 -3
View File
@@ -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 { RoleService } from './role.service';
@@ -6,8 +6,8 @@ import { RoleService } from './role.service';
describe('RoleService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientModule],
providers: [RoleService],
imports: [],
providers: [RoleService, provideHttpClient(withInterceptorsFromDi())],
});
});