From da76042d07ba31090e416d10dd1c9781d6c33acc Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 4 Jun 2025 13:56:30 +0200 Subject: [PATCH] test: reorder parameters in setupSingleRoom for consistency --- backend/tests/helpers/test-scenarios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/helpers/test-scenarios.ts b/backend/tests/helpers/test-scenarios.ts index 574203c..9b918e2 100644 --- a/backend/tests/helpers/test-scenarios.ts +++ b/backend/tests/helpers/test-scenarios.ts @@ -36,7 +36,7 @@ export interface TestContext { * @param withParticipant Whether to join a fake participant in the room. * @returns Room data including secrets and cookies. */ -export const setupSingleRoom = async (roomPrefix: string, withParticipant = false): Promise => { +export const setupSingleRoom = async (withParticipant = false, roomPrefix = 'TEST_ROOM'): Promise => { const room = await createRoom({ roomIdPrefix: roomPrefix });