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 { 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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user