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

Add tests for GroupView

This commit is contained in:
Luke Barnard
2018-04-27 14:28:24 +01:00
parent 88624c8548
commit a1c4424224
3 changed files with 380 additions and 0 deletions

View File

@ -92,6 +92,7 @@ export function createTestClient() {
content: {},
});
},
mxcUrlToHttp: (mxc) => 'http://this.is.a.url/',
setAccountData: sinon.stub(),
sendTyping: sinon.stub().returns(Promise.resolve({})),
sendTextMessage: () => Promise.resolve({}),