From faa0758f95f6a2a5362b527bfc71b71f6b4e533d Mon Sep 17 00:00:00 2001 From: Spencer Ofwiti Date: Fri, 25 Jun 2021 12:07:13 +0300 Subject: [PATCH] Fix safe pipe in pages component tests. --- src/app/pages/pages.component.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/pages/pages.component.spec.ts b/src/app/pages/pages.component.spec.ts index 4c30355..91746ef 100644 --- a/src/app/pages/pages.component.spec.ts +++ b/src/app/pages/pages.component.spec.ts @@ -1,6 +1,8 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { PagesComponent } from '@pages/pages.component'; +import { SharedModule } from '@app/shared/shared.module'; +import { RouterTestingModule } from '@angular/router/testing'; describe('PagesComponent', () => { let component: PagesComponent; @@ -8,6 +10,7 @@ describe('PagesComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ + imports: [SharedModule, RouterTestingModule], declarations: [PagesComponent], }).compileComponents(); });