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