You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I call vi.stubEnv() in a test, it will fail with the error process is not defined. I created a MRE using create-vite with the React preset. The manifest is set to "type": "module", so I'm sure the method should even use process.env.
Describe the bug
Whenever I call
vi.stubEnv()
in a test, it will fail with the errorprocess is not defined
. I created a MRE usingcreate-vite
with the React preset. The manifest is set to"type": "module"
, so I'm sure the method should even useprocess.env
.Reproduction
https://github.com/DerStandardAT/vitest-stubenv
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: