From ef4cdc196065b71414a7a2cc354e4d4e746f7c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Velimir=20=C4=90urkovi=C4=87?= Date: Wed, 15 May 2024 23:23:42 +0200 Subject: [PATCH] Update footer test --- src/app/footer/footer.component.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/footer/footer.component.spec.ts b/src/app/footer/footer.component.spec.ts index 4647de8..272fc65 100644 --- a/src/app/footer/footer.component.spec.ts +++ b/src/app/footer/footer.component.spec.ts @@ -1,6 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FooterComponent } from './footer.component'; +import { provideRouter } from '@angular/router'; describe('FooterComponent', () => { let component: FooterComponent; @@ -8,7 +9,8 @@ describe('FooterComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [FooterComponent] + imports: [FooterComponent], + providers: [provideRouter([])] }) .compileComponents();