mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Update DeveloperSettingsTab.test.tsx
This commit is contained in:
@@ -436,7 +436,9 @@ describe("DeveloperSettingsTab", () => {
|
|||||||
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
|
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(screen.getByText(/Media key rotation: active \(5 participants\)/)).toBeInTheDocument();
|
expect(
|
||||||
|
screen.getByText(/Media key rotation: active \(5 participants\)/),
|
||||||
|
).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("displays suppressed status when key rotation is suppressed", async () => {
|
it("displays suppressed status when key rotation is suppressed", async () => {
|
||||||
@@ -460,7 +462,11 @@ describe("DeveloperSettingsTab", () => {
|
|||||||
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
|
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(screen.getByText(/Media key rotation: suppressed, participant limit reached \(50 participants\)/)).toBeInTheDocument();
|
expect(
|
||||||
|
screen.getByText(
|
||||||
|
/Media key rotation: suppressed, participant limit reached \(50 participants\)/,
|
||||||
|
),
|
||||||
|
).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("does not render KeyRotationStatus when vm is not provided", async () => {
|
it("does not render KeyRotationStatus when vm is not provided", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user