We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e73340 commit 375dcd0Copy full SHA for 375dcd0
1 file changed
test/unit/client.test.ts
@@ -825,7 +825,7 @@ describe('Client', () => {
825
await sdk.updateDefaultDevices(options);
826
827
expect(sdk.headset.updateAudioInputDevice).toHaveBeenCalledWith(options.audioDeviceId);
828
- expect(sdk.sessionManager.updateOutgoingMediaForAllSessions).toHaveBeenCalledWith();
+ expect(sdk.sessionManager.updateOutgoingMediaForAllSessions).toHaveBeenCalledWith({"audioDeviceId": "new-audio-device-id"});
829
expect(sessionManagerMock.updateOutputDeviceForAllSessions).not.toHaveBeenCalled();
830
831
sessionManagerMock.updateOutgoingMediaForAllSessions.mockReset();
0 commit comments