mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-07 05:47:03 +00:00
fix formatting
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -102,7 +102,7 @@ describe("ECConnectionFactory - ControlledAudioDevice", () => {
|
||||
available$: constant(new Map<never, never>()),
|
||||
selected$: constant({ id: "DEV00", virtualEarpiece: false }),
|
||||
select: () => {},
|
||||
}
|
||||
},
|
||||
}),
|
||||
new BehaviorSubject<ProcessorState>({
|
||||
supported: true,
|
||||
|
||||
Reference in New Issue
Block a user