Skip to content

Commit 375dcd0

Browse files
test
1 parent 1e73340 commit 375dcd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ describe('Client', () => {
825825
await sdk.updateDefaultDevices(options);
826826

827827
expect(sdk.headset.updateAudioInputDevice).toHaveBeenCalledWith(options.audioDeviceId);
828-
expect(sdk.sessionManager.updateOutgoingMediaForAllSessions).toHaveBeenCalledWith();
828+
expect(sdk.sessionManager.updateOutgoingMediaForAllSessions).toHaveBeenCalledWith({"audioDeviceId": "new-audio-device-id"});
829829
expect(sessionManagerMock.updateOutputDeviceForAllSessions).not.toHaveBeenCalled();
830830

831831
sessionManagerMock.updateOutgoingMediaForAllSessions.mockReset();

0 commit comments

Comments
 (0)