mirror of https://github.com/vector-im/riot-web
stub getJoinRule
parent
0ca4a958f7
commit
9d8acd1af0
|
@ -269,6 +269,7 @@ export function mkStubRoom(roomId = null, name) {
|
||||||
getCanonicalAlias: jest.fn(),
|
getCanonicalAlias: jest.fn(),
|
||||||
getAltAliases: jest.fn().mockReturnValue([]),
|
getAltAliases: jest.fn().mockReturnValue([]),
|
||||||
timeline: [],
|
timeline: [],
|
||||||
|
getJoinRule: jest.fn().mockReturnValue("invite"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue