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