chat.page.spec.ts 629 B

123456789101112131415161718192021222324
  1. import { ComponentFixture, TestBed } from '@angular/core/testing';
  2. import { IonicModule } from '@ionic/angular';
  3. import { ChatPage } from './chat.page';
  4. describe('ChatPage', () => {
  5. let component: ChatPage;
  6. let fixture: ComponentFixture<ChatPage>;
  7. beforeEach(async () => {
  8. await TestBed.configureTestingModule({
  9. declarations: [ChatPage],
  10. imports: [IonicModule.forRoot()]
  11. }).compileComponents();
  12. fixture = TestBed.createComponent(ChatPage);
  13. component = fixture.componentInstance;
  14. fixture.detectChanges();
  15. });
  16. it('should create', () => {
  17. expect(component).toBeTruthy();
  18. });
  19. });