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