From 68c984452091698a8bb988f254255823369eb575 Mon Sep 17 00:00:00 2001 From: AndyKIron Date: Sun, 8 Oct 2023 14:18:48 +0300 Subject: [PATCH] chore(isct-63): fix unit test --- .../v3/components/modal-footer/modal-footer.component.spec.ts | 3 ++- .../v3/components/modal-header/modal-header.component.spec.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/fusion-ui/components/modal/v3/components/modal-footer/modal-footer.component.spec.ts b/projects/fusion-ui/components/modal/v3/components/modal-footer/modal-footer.component.spec.ts index ea22e7c1a..30bf5585b 100644 --- a/projects/fusion-ui/components/modal/v3/components/modal-footer/modal-footer.component.spec.ts +++ b/projects/fusion-ui/components/modal/v3/components/modal-footer/modal-footer.component.spec.ts @@ -2,6 +2,7 @@ import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing'; import {ModalFooterComponent} from './modal-footer.component'; import {ButtonModule} from '@ironsource/fusion-ui/components/button'; import {IconModule} from '@ironsource/fusion-ui/components/icon/v1'; +import {GenericPipe} from "@ironsource/fusion-ui/pipes/generic"; describe('ModalFooterComponent', () => { let component: ModalFooterComponent; @@ -9,7 +10,7 @@ describe('ModalFooterComponent', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [ButtonModule, IconModule], + imports: [ButtonModule, IconModule, GenericPipe], declarations: [ModalFooterComponent] }).compileComponents(); })); diff --git a/projects/fusion-ui/components/modal/v3/components/modal-header/modal-header.component.spec.ts b/projects/fusion-ui/components/modal/v3/components/modal-header/modal-header.component.spec.ts index 8bb612432..1e79557cd 100644 --- a/projects/fusion-ui/components/modal/v3/components/modal-header/modal-header.component.spec.ts +++ b/projects/fusion-ui/components/modal/v3/components/modal-header/modal-header.component.spec.ts @@ -2,6 +2,7 @@ import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing'; import {ModalHeaderComponent} from './modal-header.component'; import {ButtonModule} from '@ironsource/fusion-ui/components/button'; import {IconModule} from '@ironsource/fusion-ui/components/icon/v1'; +import {GenericPipe} from "@ironsource/fusion-ui/pipes/generic"; describe('ModalHeaderComponent', () => { let component: ModalHeaderComponent; @@ -9,7 +10,7 @@ describe('ModalHeaderComponent', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [ButtonModule, IconModule], + imports: [ButtonModule, IconModule, GenericPipe], declarations: [ModalHeaderComponent] }).compileComponents(); }));