diff --git a/src/state/AudioInput.test.ts b/src/state/AudioInput.test.ts index c93cb72fc..f8ee3f538 100644 --- a/src/state/AudioInput.test.ts +++ b/src/state/AudioInput.test.ts @@ -58,7 +58,9 @@ describe("AudioInput", () => { cold("a", { a: [BUILT_IN_MIC, HEADSET_MIC] }), ); - const { audioInput } = new MediaDevices(testScope); + const { audioInput } = new MediaDevices(testScope, { + controlledAudioDevices: false, + }); expectObservable(audioInput.available$).toBe("a", { a: new Map([ @@ -79,7 +81,9 @@ describe("AudioInput", () => { cold("a", { a: [CHROME_DEFAULT, BUILT_IN_MIC, HEADSET_MIC] }), ); - const { audioInput } = new MediaDevices(testScope); + const { audioInput } = new MediaDevices(testScope, { + controlledAudioDevices: false, + }); expectObservable(audioInput.selected$).toBe("a", { a: expect.objectContaining({ id: "default" }), @@ -96,7 +100,9 @@ describe("AudioInput", () => { }), ); - const { audioInput } = new MediaDevices(testScope); + const { audioInput } = new MediaDevices(testScope, { + controlledAudioDevices: false, + }); schedule("--a", { a: () => audioInput.select(HEADSET_MIC.deviceId) }); diff --git a/src/state/CallViewModel/localMember/Publisher.test.ts b/src/state/CallViewModel/localMember/Publisher.test.ts index 358b6461e..5eb7b15a7 100644 --- a/src/state/CallViewModel/localMember/Publisher.test.ts +++ b/src/state/CallViewModel/localMember/Publisher.test.ts @@ -236,6 +236,7 @@ describe("Publisher device sync", () => { muteStates, constant({ supported: false, processor: undefined }), logger, + false, ); return { publisher, switchActiveDevice };