From cae6c42eb4426f8b822ac5eff06f15df678e6773 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 12 Mar 2025 11:41:28 +0000 Subject: [PATCH] Iterate --- packages/element-web-playwright-common/src/fixtures/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/element-web-playwright-common/src/fixtures/user.ts b/packages/element-web-playwright-common/src/fixtures/user.ts index f0f0bda05d..74c4c17a3d 100644 --- a/packages/element-web-playwright-common/src/fixtures/user.ts +++ b/packages/element-web-playwright-common/src/fixtures/user.ts @@ -74,7 +74,7 @@ export const test = base.extend<{ "mx_local_settings", JSON.stringify({ // Retain any other settings which may have already been set - ...JSON.parse(window.localStorage.getItem("mx_local_settings") || "{}"), + ...JSON.parse(window.localStorage.getItem("mx_local_settings") ?? "{}"), // Ensure the language is set to a consistent value language: "en", }),