Skip to content

Commit 979db4a

Browse files
Fix test to reflect code change
1 parent b6247ba commit 979db4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit-tests/lib/createTchapRoom-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("Create room options", () => {
2020
guestAccess: false,
2121
joinRule: "invite",
2222
encryption: true,
23-
historyVisibility: "joined",
23+
historyVisibility: "invited",
2424
};
2525
expect(roomCreateOptions("testName", TchapRoomType.Private)).toStrictEqual(privateRoomExpectedOpts);
2626
done();
@@ -80,7 +80,7 @@ describe("Create room options", () => {
8080
guestAccess: false,
8181
joinRule: "invite",
8282
encryption: true,
83-
historyVisibility: "joined",
83+
historyVisibility: "invited",
8484
};
8585
expect(roomCreateOptions("testName", TchapRoomType.External)).toStrictEqual(externalRoomExpectedOpts);
8686
done();

0 commit comments

Comments
 (0)