Vitest environment reuse causing global state leakage
Goal Determine whether Vitest creates a new environment instance for each test file when the same environment name (e.g., "node") is used, or if it reuses a single instance across files, potentially leaking global state. Context Vitest’s configuration allows setting the test environment per file or globally via the environment key. The documentation does not