Skip to content
Snippets Groups Projects
not-found-page.component.spec.ts 828 B
Newer Older
  • Learn to ignore specific revisions
  • 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();
        });
    });