fix formatting
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user