You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2026-01-03 21:42:32 +03:00
fix getCapabilities stub
This commit is contained in:
@@ -96,7 +96,7 @@ export function createTestClient() {
|
||||
},
|
||||
},
|
||||
decryptEventIfNeeded: () => Promise.resolve(),
|
||||
getCapabilities: jest.fn().mockReturnValue({}),
|
||||
getCapabilities: jest.fn().mockResolvedValue({}),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user