mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-15 12:38:22 +00:00
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:
1 parent
1aca775cb9
commit
66fd49ee46
1 file changed
+3
@@ -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"],
|
||||
});
|
||||
Reference in new issue
Block a user