child_process
is empty with jsdom and production mode
#4350
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
pmndrs/valtio#801 (comment)
When the env is jsdom and the mode is production (or NODE_ENV is production), the child_process package is empty. This happens in v0.34.6 but not in v0.33.0.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-uyuvnz?file=test%2Fbasic.test.ts,package-lock.json,vite.config.ts,package.json&initialPath=__vitest__/
System Info
The text was updated successfully, but these errors were encountered: