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