You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
stub getJoinRule
This commit is contained in:
@ -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"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user