From 331f2ee13696b14f46952ae5c9bb7985a2e9e742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=B3=C3=B0i=20Karlsson?= Date: Thu, 4 Jun 2026 21:45:09 +0200 Subject: [PATCH] fix: turn off experimental webstorage until node 26 is LTS --- packages/dev-lib/cfg/vitest.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/dev-lib/cfg/vitest.config.js b/packages/dev-lib/cfg/vitest.config.js index 935f6b2b..553d6dcf 100644 --- a/packages/dev-lib/cfg/vitest.config.js +++ b/packages/dev-lib/cfg/vitest.config.js @@ -75,6 +75,9 @@ export function getSharedConfig(cwd) { maxWorkers, isolate: false, watch: false, + // Node 25 enabled the Web Storage API by default. Disable it so `localStorage` / + // `sessionStorage` are not defined in tests, matching Node 24 behavior. + execArgv: ['--no-experimental-webstorage'], // dir: 'src', restoreMocks: true, silent,