From fbe0868579972d602f0924e77c78f3dad163f906 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Fri, 11 Apr 2025 12:16:58 +0200 Subject: [PATCH] backend: Set default value for options parameter in createRoom function --- backend/tests/utils/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/utils/helpers.ts b/backend/tests/utils/helpers.ts index d4c73d5..420cbf8 100644 --- a/backend/tests/utils/helpers.ts +++ b/backend/tests/utils/helpers.ts @@ -136,7 +136,7 @@ export const loginUserAsRole = async (role: UserRole): Promise => { /** * Creates a room with the given prefix */ -export const createRoom = async (options: MeetRoomOptions): Promise => { +export const createRoom = async (options: MeetRoomOptions = {}): Promise => { if (!app) { throw new Error('App instance is not defined'); }