25 lines
682 B
TypeScript
25 lines
682 B
TypeScript
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
import { IonicModule } from '@ionic/angular';
|
|
|
|
import { ChatComponent } from './chat.component';
|
|
|
|
describe('ChatComponent', () => {
|
|
let component: ChatComponent;
|
|
let fixture: ComponentFixture<ChatComponent>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [ ChatComponent ],
|
|
imports: [IonicModule.forRoot()]
|
|
}).compileComponents();
|
|
|
|
fixture = TestBed.createComponent(ChatComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
}));
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|