fix formatting

This commit is contained in:
Valere
2025-11-25 11:40:38 +01:00
parent e2607d6399
commit 7f3596845c
2 changed files with 9 additions and 8 deletions

View File

@@ -339,19 +339,20 @@ describe("UrlParams", () => {
});
it("is parsed", () => {
expect(computeUrlParams("?intent=start_call&noiseSuppression=true").noiseSuppression).toBe(
true,
);
expect(computeUrlParams("?intent=start_call&noiseSuppression&bar=foo").noiseSuppression).toBe(
true,
);
expect(
computeUrlParams("?intent=start_call&noiseSuppression=true")
.noiseSuppression,
).toBe(true);
expect(
computeUrlParams("?intent=start_call&noiseSuppression&bar=foo")
.noiseSuppression,
).toBe(true);
expect(computeUrlParams("?noiseSuppression=false").noiseSuppression).toBe(
false,
);
});
});
describe("echoCancellation", () => {
it("defaults to true", () => {
expect(computeUrlParams().echoCancellation).toBe(true);