Update DeveloperSettingsTab.test.tsx

This commit is contained in:
Timo K.
2026-08-25 23:32:22 +02:00
parent 2b5979162a
commit 06b9105cee
+8 -2
View File
@@ -436,7 +436,9 @@ describe("DeveloperSettingsTab", () => {
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 () => {
@@ -460,7 +462,11 @@ describe("DeveloperSettingsTab", () => {
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 () => {