Allow the tests to force a MatrixClient
This commit is contained in:
parent
eb78b1b328
commit
19500cf96a
2 changed files with 6 additions and 2 deletions
|
@ -109,7 +109,7 @@ describe('RoomList', () => {
|
|||
client.getRoom = (roomId) => roomMap[roomId];
|
||||
|
||||
// Now that everything has been set up, prepare and update the store
|
||||
await RoomListStore.instance.makeReady();
|
||||
await RoomListStore.instance.makeReady(client);
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue