1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

fix getCapabilities stub

This commit is contained in:
Michael Telatynski
2021-07-06 10:34:50 +01:00
parent 3301763f12
commit 0ca4a958f7

View File

@ -96,7 +96,7 @@ export function createTestClient() {
},
},
decryptEventIfNeeded: () => Promise.resolve(),
getCapabilities: jest.fn().mockReturnValue({}),
getCapabilities: jest.fn().mockResolvedValue({}),
};
}