You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6745500
Browse filesBrowse the repository at this point in the historyBrowse files
fix(terminal): correct data-testid placement, use nullish coalescing, and harden test patterns (Zoo-Code-Org#119)
- TerminalSettings.tsx: move data-testid from Radix <Select> root
(no DOM node) to <SelectTrigger> button so the attribute survives
in production; replace || with ?? for the terminalProfile sentinel
fallback so empty string is not incorrectly replaced; export
DEFAULT_PROFILE_VALUE for reuse in tests.
- TerminalSettings.profile.spec.tsx: import DEFAULT_PROFILE_VALUE,
replace hardcoded sentinel strings; adopt rerender() over
cleanup()+render() so onTerminalProfilePickerOpened is preserved
across re-renders; remove unused cleanup import.
- Remove PR screenshots from docs/ (after1.png, after2.png,
before.png).
0 commit comments