Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix createDmLocalRoom-test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
weeman1337 committed Feb 23, 2023
1 parent 8eb5018 commit 7b3e920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/dm/createDmLocalRoom-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ describe("createDmLocalRoom", () => {
mocked(privateShouldBeEncrypted).mockReturnValue(true);
});

it("should create an unencrypted room for 3PID targets", async () => {
it("should create an encrytped room for 3PID targets", async () => {
const room = await createDmLocalRoom(mockClient, [member2]);
expect(mockClient.store.storeRoom).toHaveBeenCalledWith(room);
assertLocalRoom(room, [member2], false);
assertLocalRoom(room, [member2], true);
});

describe("for MXID targets with encryption available", () => {
Expand Down

0 comments on commit 7b3e920

Please sign in to comment.