<Approve fileName oldText newText onDecision/> renders a unified diff (+/-/space sigils, 4-col line numbers, add/del totals header) and binds y -> accept, n/q/ESC -> reject via ink useInput. Tests use ink-testing-library; each keystroke case awaits a microtask flush before stdin.write so that ink's useEffect-installed 'readable' listener has actually been attached at the moment the byte arrives. |
||
|---|---|---|
| .. | ||
| integration | ||
| tui | ||
| unit | ||
| bench-results-v5.json | ||
| bench-results.json | ||
| bench.mjs | ||
| mock_watcher.py | ||
| test-fixes.mjs | ||
| TEST_OVERVIEW.md | ||