mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:00:17 +00:00
Promote "Share encrypted history" from labs (#33281)
* Promote "Share encrypted history" from labs * fix lint * Update labs.md * update snapshots * Update unit tests * update playwright screenshot
This commit is contained in:
committed by
GitHub
parent
c02b970d35
commit
c4638d1773
@@ -24,7 +24,7 @@ describe("/invite", () => {
|
||||
|
||||
await command.run(client, roomId, null, args).promise;
|
||||
|
||||
expect(client.invite).toHaveBeenCalledWith(roomId, "@u:s.co", {});
|
||||
expect(client.invite).toHaveBeenCalledWith(roomId, "@u:s.co", { shareEncryptedHistory: true });
|
||||
});
|
||||
|
||||
it("should provide the invite reason if we supply it", async () => {
|
||||
@@ -35,6 +35,9 @@ describe("/invite", () => {
|
||||
|
||||
await command.run(client, roomId, null, args).promise;
|
||||
|
||||
expect(client.invite).toHaveBeenCalledWith(roomId, "@u:s.co", { reason: "They are a very nice person" });
|
||||
expect(client.invite).toHaveBeenCalledWith(roomId, "@u:s.co", {
|
||||
reason: "They are a very nice person",
|
||||
shareEncryptedHistory: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user