From 797152c27c67dea71769dbf7d950b2efaddcf6ec Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Thu, 9 Sep 2021 11:24:24 +0200 Subject: [PATCH] Fixed test --- .../layout/components/footer/footer.component.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/mina-sidor-fa/src/app/shared/components/layout/components/footer/footer.component.spec.ts b/apps/mina-sidor-fa/src/app/shared/components/layout/components/footer/footer.component.spec.ts index c69b6e6..5082b5f 100644 --- a/apps/mina-sidor-fa/src/app/shared/components/layout/components/footer/footer.component.spec.ts +++ b/apps/mina-sidor-fa/src/app/shared/components/layout/components/footer/footer.component.spec.ts @@ -1,6 +1,6 @@ +import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; -import { IconModule } from '@msfa-shared/components/icon/icon.module'; import { FooterComponent } from './footer.component'; describe('FooterComponent', () => { @@ -10,8 +10,9 @@ describe('FooterComponent', () => { beforeEach( waitForAsync(() => { void TestBed.configureTestingModule({ + schemas: [CUSTOM_ELEMENTS_SCHEMA], declarations: [FooterComponent], - imports: [RouterTestingModule, IconModule], + imports: [RouterTestingModule], }).compileComponents(); }) );