Penv
Bun

property

test.default.RunOptions.env

env?: ProcessEnv

Specify environment variables to be passed along to the test process. This options is not compatible with isolation='none'. These variables will override those from the main process, and are not merged with process.env.