From f1e36ccf916d94e48892fc035f45accc3527983a Mon Sep 17 00:00:00 2001 From: Oliver Lazoroski Date: Mon, 18 Sep 2023 14:34:00 +0200 Subject: [PATCH] test: fix failing test --- .../client/src/__tests__/server-side/call-types.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/client/src/__tests__/server-side/call-types.test.ts b/packages/client/src/__tests__/server-side/call-types.test.ts index f3bc7bedd8..55b5fe5d11 100644 --- a/packages/client/src/__tests__/server-side/call-types.test.ts +++ b/packages/client/src/__tests__/server-side/call-types.test.ts @@ -3,7 +3,11 @@ import { beforeAll, describe, expect, it } from 'vitest'; import { StreamVideoServerClient } from '../../StreamVideoServerClient'; import { generateUUIDv4 } from '../../coordinator/connection/utils'; import { LogLevel } from '../../coordinator/connection/types'; -import { OwnCapability, RecordSettingsModeEnum } from '../../gen/coordinator'; +import { + OwnCapability, + RecordSettingsModeEnum, + RecordSettingsQualityEnum, +} from '../../gen/coordinator'; const apiKey = process.env.STREAM_API_KEY!; const secret = process.env.STREAM_SECRET!; @@ -95,6 +99,9 @@ describe('call types CRUD API', () => { audio: { mic_default_on: false, default_device: 'earpiece' }, recording: { mode: RecordSettingsModeEnum.DISABLED, + // FIXME OL: these props shouldn't be required to be set when recording is disabled + audio_only: false, + quality: RecordSettingsQualityEnum._1080P, }, }, });