mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
fix getCapabilities stub
This commit is contained in:
parent
3301763f12
commit
0ca4a958f7
@ -96,7 +96,7 @@ export function createTestClient() {
|
||||
},
|
||||
},
|
||||
decryptEventIfNeeded: () => Promise.resolve(),
|
||||
getCapabilities: jest.fn().mockReturnValue({}),
|
||||
getCapabilities: jest.fn().mockResolvedValue({}),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user