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