backend: refactor GET Recording fields filtering tests to remove redundant setup

This commit is contained in:
CSantosM 2026-02-17 12:53:55 +01:00
parent 65674e164d
commit 1856201b87

View File

@ -73,14 +73,6 @@ describe('Recording API Tests', () => {
});
describe('GET Recording - Fields filtering', () => {
let recordingId: string;
beforeAll(async () => {
await Promise.all([deleteAllRooms(), deleteAllRecordings()]);
context = await setupMultiRecordingsTestContext(1, 1, 1);
({ recordingId = '' } = context.getRoomByIndex(0)!);
});
it('should filter fields using fields query param', async () => {
const response = await getRecording(recordingId, { fields: 'recordingId,roomId,status' });