1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Fix more tests

This commit is contained in:
David Baker
2024-05-07 14:23:35 +01:00
parent 6047b6efdc
commit a865d8613f
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ describe("<FilteredDeviceListHeader />", () => {
it("renders correctly when some devices are selected", () => { it("renders correctly when some devices are selected", () => {
const { getByText } = render(getComponent({ selectedDeviceCount: 2 })); const { getByText } = render(getComponent({ selectedDeviceCount: 2 }));
expect(getByText("2 sessions selected")).toBeTruthy(); expect(getByText("2 devices selected")).toBeTruthy();
}); });
it("clicking checkbox toggles selection", () => { it("clicking checkbox toggles selection", () => {

View File

@@ -35,7 +35,7 @@ exports[`<FilteredDeviceListHeader /> renders correctly when all devices are sel
<span <span
class="mx_FilteredDeviceListHeader_label" class="mx_FilteredDeviceListHeader_label"
> >
Sessions Devices
</span> </span>
<div> <div>
test test
@@ -78,7 +78,7 @@ exports[`<FilteredDeviceListHeader /> renders correctly when no devices are sele
<span <span
class="mx_FilteredDeviceListHeader_label" class="mx_FilteredDeviceListHeader_label"
> >
Sessions Devices
</span> </span>
<div> <div>
test test