6 lines
300 B
TypeScript
6 lines
300 B
TypeScript
/**
|
|
* 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'] : []
|