fix(test): isolate jsdom storage on Node 26
This commit is contained in:
@@ -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