MemoryEnvironmentProvider
classAn in-memory environment provider for testing, browser playgrounds,
or any context where real process state should not be touched.
Methods
cwd(): stringReturn the current working directory, used as the root for configuration-file resolution.
getEnv(key: string): string | undefinedRead an environment variable. Return `undefined` when the variable is not set.
setEnv(key: string, value: string): voidWrite (or overwrite) an environment variable.