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