mirror of https://github.com/vector-im/riot-web
Fix LegacyCallHandler-test (#9552)
parent
3cbd88c280
commit
5fb0f5cc3e
|
@ -86,6 +86,7 @@ export function createTestClient(): MatrixClient {
|
|||
getUserId: jest.fn().mockReturnValue("@userId:matrix.org"),
|
||||
getUser: jest.fn().mockReturnValue({ on: jest.fn() }),
|
||||
getDeviceId: jest.fn().mockReturnValue("ABCDEFGHI"),
|
||||
deviceId: "ABCDEFGHI",
|
||||
getDevices: jest.fn().mockResolvedValue({ devices: [{ device_id: "ABCDEFGHI" }] }),
|
||||
credentials: { userId: "@userId:matrix.org" },
|
||||
|
||||
|
|
Loading…
Reference in New Issue