Frontend tests: disable Node's built-in localStorage so vitest works on Node 25+

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mikeyheneinandClaude Opus 5.5 committed 2026-11-02 20:28:31 -08:00
1 parent 1aca775cb9
commit 66fd49ee46
1 file changed
+3
+3
View File
@@ -57,6 +57,9 @@ export default defineConfig({
test: {
environment: "happy-dom",
setupFiles: ["./vitest-setup.js"],
// Node 25+ has a built-in global localStorage (undefined without
// --localstorage-file) that shadows happy-dom's; turn it off.
execArgv: ["--no-experimental-webstorage"],
},
assetsInclude: ["**/*.md", "**/*.png", "**/*.svg"],
});