import { TestBed, waitForAsync, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { NotFoundPageComponent } from './not-found-page.component'; describe('NotFoundPageComponent', () => { let component: NotFoundPageComponent; let fixture: ComponentFixture<NotFoundPageComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [RouterTestingModule], declarations: [ NotFoundPageComponent ] }).compileComponents(); fixture = TestBed.createComponent(NotFoundPageComponent); component = fixture.componentInstance; })); it('should create the not found page component', () => { expect(component).toBeDefined(); }); });