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