mirror of https://github.com/vector-im/riot-web
fix getCapabilities stub
parent
3301763f12
commit
0ca4a958f7
|
@ -96,7 +96,7 @@ export function createTestClient() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decryptEventIfNeeded: () => Promise.resolve(),
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
getCapabilities: jest.fn().mockReturnValue({}),
|
getCapabilities: jest.fn().mockResolvedValue({}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue