You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-31 15:24:23 +03:00
fix test
This commit is contained in:
@ -597,13 +597,13 @@ describe("Room", function() {
|
|||||||
expect(name).toEqual(roomName);
|
expect(name).toEqual(roomName);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should show your name for private (invite join_rules) rooms if" +
|
it("should return 'Empty room' for private (invite join_rules) rooms if" +
|
||||||
" a room name and alias don't exist and it is a self-chat.", function() {
|
" a room name and alias don't exist and it is a self-chat.", function() {
|
||||||
setJoinRule("invite");
|
setJoinRule("invite");
|
||||||
addMember(userA);
|
addMember(userA);
|
||||||
room.recalculate(userA);
|
room.recalculate(userA);
|
||||||
var name = room.name;
|
var name = room.name;
|
||||||
expect(name).toEqual(userA);
|
expect(name).toEqual("Empty room");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should show your name for public (public join_rules) rooms if a" +
|
it("should show your name for public (public join_rules) rooms if a" +
|
||||||
|
Reference in New Issue
Block a user