Fixed test

This commit is contained in:
Erik Tiekstra
2021-09-09 11:24:24 +02:00
parent 7a60a39b1e
commit 797152c27c

View File

@@ -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();
})
);