Chore: update to Angular v18 (#7106)

This commit is contained in:
shamoon 2024-06-26 20:57:39 -07:00 committed by GitHub
parent 4f1185c65d
commit 3435ffd00c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
93 changed files with 3461 additions and 2829 deletions

View file

@ -14,7 +14,7 @@ import {
NgbModalModule,
NgbPopoverModule,
} from '@ng-bootstrap/ng-bootstrap'
import { HttpClientModule } from '@angular/common/http'
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
import { TextComponent } from '../input/text/text.component'
import { PasswordComponent } from '../input/password/password.component'
import { of, throwError } from 'rxjs'
@ -55,9 +55,7 @@ describe('ProfileEditDialogComponent', () => {
PasswordComponent,
ConfirmButtonComponent,
],
providers: [NgbActiveModal],
imports: [
HttpClientModule,
ReactiveFormsModule,
FormsModule,
NgbModalModule,
@ -65,6 +63,7 @@ describe('ProfileEditDialogComponent', () => {
NgxBootstrapIconsModule.pick(allIcons),
NgbPopoverModule,
],
providers: [NgbActiveModal, provideHttpClient(withInterceptorsFromDi())],
})
profileService = TestBed.inject(ProfileService)
toastService = TestBed.inject(ToastService)