-
Notifications
You must be signed in to change notification settings - Fork 6
Remove Dead Code Branches #9633
Copy link
Copy link
Open
Description
Consolidate environment checks and gate test-only code. Action items: 1. Gate window.TEST_CONTROLS in app/main.tsx behind flags. 2. Consolidate multiple isTestEnvironment() checks into a single constant: const IS_TEST_ENV = process.env.NODE_ENV === 'test';. 3. Remove or gate fallback localStorage code in WebSockets used only for private browsing. Estimated size saved: 10-20KB.
Priority: Medium | Effort: Small
Reactions are currently unavailable
Metadata
Metadata
Assignees
Projects
Status
Todo