mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 04:56:53 +01:00
Chore: update to Angular v18 (#7106)
This commit is contained in:
parent
4f1185c65d
commit
3435ffd00c
93 changed files with 3461 additions and 2829 deletions
|
|
@ -2,8 +2,9 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'
|
|||
import { NotFoundComponent } from './not-found.component'
|
||||
import { By } from '@angular/platform-browser'
|
||||
import { LogoComponent } from '../common/logo/logo.component'
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing'
|
||||
import { provideHttpClientTesting } from '@angular/common/http/testing'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
|
||||
|
||||
describe('NotFoundComponent', () => {
|
||||
let component: NotFoundComponent
|
||||
|
|
@ -12,9 +13,10 @@ describe('NotFoundComponent', () => {
|
|||
beforeEach(async () => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [NotFoundComponent, LogoComponent],
|
||||
imports: [
|
||||
HttpClientTestingModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
imports: [NgxBootstrapIconsModule.pick(allIcons)],
|
||||
providers: [
|
||||
provideHttpClient(withInterceptorsFromDi()),
|
||||
provideHttpClientTesting(),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue