Skip to content

Commit

Permalink
test: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Sep 18, 2023
1 parent bc086e2 commit f1e36cc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/client/src/__tests__/server-side/call-types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!;
Expand Down Expand Up @@ -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,
},
},
});
Expand Down

0 comments on commit f1e36cc

Please sign in to comment.