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