examples.waku.org/relay-angular-chat/src/app/messages/messages.component.spec.ts

24 lines
634 B
TypeScript
Raw Normal View History

2022-12-09 16:59:11 +05:30
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { MessagesComponent } from "./messages.component";
2022-06-17 10:48:15 +10:00
2022-12-09 16:59:11 +05:30
describe("MessagesComponent", () => {
2022-06-17 10:48:15 +10:00
let component: MessagesComponent;
let fixture: ComponentFixture<MessagesComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
2022-12-09 16:59:11 +05:30
declarations: [MessagesComponent],
}).compileComponents();
2022-06-17 10:48:15 +10:00
});
beforeEach(() => {
fixture = TestBed.createComponent(MessagesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
2022-12-09 16:59:11 +05:30
xit("should create", () => {
2022-06-17 10:48:15 +10:00
expect(component).toBeTruthy();
});
});