mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix(test): isolate jsdom storage on Node 26
This commit is contained in:
5
vitest.shared.ts
Normal file
5
vitest.shared.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* Worker arguments that keep process-wide Web Storage from shadowing jsdom storage.
|
||||
* Node lists the positive spelling in `allowedNodeEnvironmentFlags` for this negatable flag.
|
||||
*/
|
||||
export const vitestExecArgv = process.allowedNodeEnvironmentFlags.has('--webstorage') ? ['--no-webstorage'] : []
|
||||
Reference in New Issue
Block a user