From d7699c63fb0f935898d268799da9f19dbfc2ca4f Mon Sep 17 00:00:00 2001 From: Matvei Andrienko Date: Mon, 28 Oct 2024 15:04:33 +0100 Subject: [PATCH] fix: tests --- packages/client/src/devices/__tests__/CameraManager.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/devices/__tests__/CameraManager.test.ts b/packages/client/src/devices/__tests__/CameraManager.test.ts index df7d74b171..e432ba6305 100644 --- a/packages/client/src/devices/__tests__/CameraManager.test.ts +++ b/packages/client/src/devices/__tests__/CameraManager.test.ts @@ -157,7 +157,7 @@ describe('CameraManager', () => { await manager.select(deviceId); expect((getVideoStream as Mock).mock.lastCall[0]).toEqual({ - deviceId, + deviceId: { exact: deviceId }, width: 1280, height: 720, }); @@ -182,7 +182,7 @@ describe('CameraManager', () => { await manager.selectTargetResolution({ width: 640, height: 480 }); expect((getVideoStream as Mock).mock.lastCall[0]).toEqual({ - deviceId: mockVideoDevices[0].deviceId, + deviceId: { exact: mockVideoDevices[0].deviceId }, width: 640, height: 480, });