From a66797437873c5e4c1b7fdc0ece644f84eda720a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 24 Aug 2023 00:21:06 -0700 Subject: [PATCH] Update settings.component.spec.ts --- .../manage/settings/settings.component.spec.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src-ui/src/app/components/manage/settings/settings.component.spec.ts b/src-ui/src/app/components/manage/settings/settings.component.spec.ts index 3919e6499..fb8f0a7f4 100644 --- a/src-ui/src/app/components/manage/settings/settings.component.spec.ts +++ b/src-ui/src/app/components/manage/settings/settings.component.spec.ts @@ -15,6 +15,7 @@ import { NgbModule, NgbNavLink, NgbModalRef, + NgbAlertModule, } from '@ng-bootstrap/ng-bootstrap' import { of, throwError } from 'rxjs' import { routes } from 'src/app/app-routing.module' @@ -42,6 +43,13 @@ import { CheckComponent } from '../../common/input/check/check.component' import { ColorComponent } from '../../common/input/color/color.component' import { PageHeaderComponent } from '../../common/page-header/page-header.component' import { SettingsComponent } from './settings.component' +import { SafeHtmlPipe } from 'src/app/pipes/safehtml.pipe' +import { SelectComponent } from '../../common/input/select/select.component' +import { TextComponent } from '../../common/input/text/text.component' +import { PasswordComponent } from '../../common/input/password/password.component' +import { NumberComponent } from '../../common/input/number/number.component' +import { TagsComponent } from '../../common/input/tags/tags.component' +import { NgSelectModule } from '@ng-select/ng-select' const savedViews = [ { id: 1, name: 'view1' }, @@ -90,6 +98,14 @@ describe('SettingsComponent', () => { ConfirmDialogComponent, CheckComponent, ColorComponent, + SafeHtmlPipe, + SelectComponent, + TextComponent, + PasswordComponent, + NumberComponent, + TagsComponent, + MailAccountEditDialogComponent, + MailRuleEditDialogComponent, ], providers: [CustomDatePipe, DatePipe, PermissionsGuard], imports: [ @@ -98,6 +114,8 @@ describe('SettingsComponent', () => { RouterTestingModule.withRoutes(routes), FormsModule, ReactiveFormsModule, + NgbAlertModule, + NgSelectModule, ], }).compileComponents()