Fix safe pipe in pages component tests.
This commit is contained in:
parent
0343142a38
commit
faa0758f95
@ -1,6 +1,8 @@
|
|||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PagesComponent } from '@pages/pages.component';
|
import { PagesComponent } from '@pages/pages.component';
|
||||||
|
import { SharedModule } from '@app/shared/shared.module';
|
||||||
|
import { RouterTestingModule } from '@angular/router/testing';
|
||||||
|
|
||||||
describe('PagesComponent', () => {
|
describe('PagesComponent', () => {
|
||||||
let component: PagesComponent;
|
let component: PagesComponent;
|
||||||
@ -8,6 +10,7 @@ describe('PagesComponent', () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
|
imports: [SharedModule, RouterTestingModule],
|
||||||
declarations: [PagesComponent],
|
declarations: [PagesComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user