Pass around MatrixClients instead of using MatrixClientPeg (#10984)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
co-authored by
Richard van der Hoff
parent
b6b9ce3c46
commit
21ffc50f1e
@@ -500,7 +500,7 @@ describe("<DeviceItem />", () => {
|
||||
await userEvent.click(button);
|
||||
|
||||
expect(mockVerifyDevice).toHaveBeenCalledTimes(1);
|
||||
expect(mockVerifyDevice).toHaveBeenCalledWith(defaultUser, device);
|
||||
expect(mockVerifyDevice).toHaveBeenCalledWith(mockClient, defaultUser, device);
|
||||
});
|
||||
|
||||
it("with display name", async () => {
|
||||
|
||||
Reference in New Issue
Block a user