c58ec21242
- Corrected TTY property restoration to properly delete injected properties instead of redefining them as truthy values. - Updated environment restoration to modify process.env keys individually to prevent breaking environment object reference bindings. - Prevented pollution of TTY-gated code and environment variable state across test suites.