replace Polls history strings with Poll history (#10454)

Co-authored-by: Michael Weimann <michaelw@matrix.org>
This commit is contained in:
Kerry
2023-03-29 11:13:51 +13:00
committed by GitHub
parent f5115e047e
commit 6eda1fa6e2
11 changed files with 15 additions and 15 deletions
@@ -137,13 +137,13 @@ describe("<RoomSummaryCard />", () => {
it("renders poll history option", () => {
const { getByText } = getComponent();
expect(getByText("Polls history")).toBeInTheDocument();
expect(getByText("Poll history")).toBeInTheDocument();
});
it("opens poll history dialog on button click", () => {
const { getByText } = getComponent();
fireEvent.click(getByText("Polls history"));
fireEvent.click(getByText("Poll history"));
expect(modalSpy).toHaveBeenCalledWith(PollHistoryDialog, {
room,
@@ -88,7 +88,7 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
role="button"
tabindex="0"
>
Polls history
Poll history
</div>
<div
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_export"