From b68210de257e95586560412f43de2fa42c342184 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Wed, 16 Oct 2024 22:50:32 +0100 Subject: [PATCH] Unbreak desktop complete media tests (#684) --- desktop/e2e/complete/desktopE2EUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/e2e/complete/desktopE2EUtils.ts b/desktop/e2e/complete/desktopE2EUtils.ts index 811544b5c..1ac1d84b8 100644 --- a/desktop/e2e/complete/desktopE2EUtils.ts +++ b/desktop/e2e/complete/desktopE2EUtils.ts @@ -45,7 +45,7 @@ export const test = base.extend<{ if (!testSettings.media) { testSettings.media = {}; } - testSettings.media.mediaPath ||= testMediaPath; + testSettings.media.mediaPath = testMediaPath; for (const [key, value] of Object.entries(testSettings)) { env[`__TEST_SETTINGS_${key.toUpperCase()}`] = JSON.stringify(value); }