Fix broken jest test
This commit is contained in:
@@ -63,7 +63,7 @@ describe("MemberListHeaderView", () => {
|
||||
});
|
||||
|
||||
it("Does not show search box when there's less than 20 members", async () => {
|
||||
expect(screen.queryByPlaceholderText("Filter People...")).toBeNull();
|
||||
expect(screen.queryByPlaceholderText("Search members...")).toBeNull();
|
||||
});
|
||||
|
||||
it("Shows search box when there's more than 20 members", async () => {
|
||||
@@ -81,7 +81,7 @@ describe("MemberListHeaderView", () => {
|
||||
memberListRoom.currentState.members[newMember.userId] = newMember;
|
||||
}
|
||||
await reRender();
|
||||
expect(screen.queryByPlaceholderText("Filter People...")).toBeVisible();
|
||||
expect(screen.queryByPlaceholderText("Search members...")).toBeVisible();
|
||||
});
|
||||
|
||||
describe("Invite button functionality", () => {
|
||||
|
||||
Reference in New Issue
Block a user