import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NotFoundComponent } from './not-found.component'; import { provideRouter } from '@angular/router'; describe('NotFoundComponent', () => { let component: NotFoundComponent; let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ imports: [NotFoundComponent], providers: [provideRouter([])], }).compileComponents(); fixture = TestBed.createComponent(NotFoundComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });