Chore: update to Angular v18 (#7106)

This commit is contained in:
shamoon
2024-06-26 20:57:39 -07:00
committed by GitHub
parent 705671a93b
commit 2ea9c7e135
93 changed files with 3461 additions and 2829 deletions

View File

@@ -1,6 +1,6 @@
import {
HttpTestingController,
HttpClientTestingModule,
provideHttpClientTesting,
} from '@angular/common/http/testing'
import {
ComponentFixture,
@@ -18,6 +18,7 @@ import { ShareLinksDropdownComponent } from './share-links-dropdown.component'
import { Clipboard } from '@angular/cdk/clipboard'
import { By } from '@angular/platform-browser'
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
describe('ShareLinksDropdownComponent', () => {
let component: ShareLinksDropdownComponent
@@ -31,11 +32,14 @@ describe('ShareLinksDropdownComponent', () => {
TestBed.configureTestingModule({
declarations: [ShareLinksDropdownComponent],
imports: [
HttpClientTestingModule,
FormsModule,
ReactiveFormsModule,
NgxBootstrapIconsModule.pick(allIcons),
],
providers: [
provideHttpClient(withInterceptorsFromDi()),
provideHttpClientTesting(),
],
})
fixture = TestBed.createComponent(ShareLinksDropdownComponent)