From 8fd34f6b195211a1668b753667200bbd96f114e7 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:59:19 -0700 Subject: [PATCH] Include imports to fix the frontend tests I broke --- .../storage-path-edit-dialog.component.spec.ts | 2 ++ .../storage-path-list/storage-path-list.component.spec.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.spec.ts b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.spec.ts index a042f2b4e..051d21527 100644 --- a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.spec.ts +++ b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.spec.ts @@ -10,6 +10,7 @@ import { SettingsService } from 'src/app/services/settings.service' import { PermissionsFormComponent } from '../../input/permissions/permissions-form/permissions-form.component' import { SelectComponent } from '../../input/select/select.component' import { TextComponent } from '../../input/text/text.component' +import { TextAreaComponent } from '../../input/textarea/textarea.component' import { EditDialogMode } from '../edit-dialog.component' import { StoragePathEditDialogComponent } from './storage-path-edit-dialog.component' import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' @@ -27,6 +28,7 @@ describe('StoragePathEditDialogComponent', () => { IfOwnerDirective, SelectComponent, TextComponent, + TextAreaComponent, PermissionsFormComponent, SafeHtmlPipe, ], diff --git a/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.spec.ts b/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.spec.ts index 0816dae7d..36da7cc84 100644 --- a/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.spec.ts +++ b/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.spec.ts @@ -11,6 +11,7 @@ import { PageHeaderComponent } from '../../common/page-header/page-header.compon import { StoragePathListComponent } from './storage-path-list.component' import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons' import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' +import { SafeHtmlPipe } from 'src/app/pipes/safehtml.pipe' describe('StoragePathListComponent', () => { let component: StoragePathListComponent @@ -24,6 +25,7 @@ describe('StoragePathListComponent', () => { SortableDirective, PageHeaderComponent, IfPermissionsDirective, + SafeHtmlPipe, ], imports: [ NgbPaginationModule,