mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 22:41:56 +00:00
replace Polls history strings with Poll history (#10454)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user