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", () => { it("is parsed", () => {
expect(computeUrlParams("?intent=start_call&noiseSuppression=true").noiseSuppression).toBe( expect(
true, computeUrlParams("?intent=start_call&noiseSuppression=true")
); .noiseSuppression,
expect(computeUrlParams("?intent=start_call&noiseSuppression&bar=foo").noiseSuppression).toBe( ).toBe(true);
true, expect(
); computeUrlParams("?intent=start_call&noiseSuppression&bar=foo")
.noiseSuppression,
).toBe(true);
expect(computeUrlParams("?noiseSuppression=false").noiseSuppression).toBe( expect(computeUrlParams("?noiseSuppression=false").noiseSuppression).toBe(
false, false,
); );
}); });
}); });
describe("echoCancellation", () => { describe("echoCancellation", () => {
it("defaults to true", () => { it("defaults to true", () => {
expect(computeUrlParams().echoCancellation).toBe(true); expect(computeUrlParams().echoCancellation).toBe(true);

View File

@@ -102,7 +102,7 @@ describe("ECConnectionFactory - ControlledAudioDevice", () => {
available$: constant(new Map<never, never>()), available$: constant(new Map<never, never>()),
selected$: constant({ id: "DEV00", virtualEarpiece: false }), selected$: constant({ id: "DEV00", virtualEarpiece: false }),
select: () => {}, select: () => {},
} },
}), }),
new BehaviorSubject<ProcessorState>({ new BehaviorSubject<ProcessorState>({
supported: true, supported: true,