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