Yunfei He
6ca120b6f3
fix: resolve remaining PTY test failures, remove stale todos
...
- rapid arrows: fixture's 6s setTimeout wasn't cleared on exit(), causing
a throw after successful completion. Added clearTimeout before exit().
- 2 erase clearTerminal tests removed: Vue renders a single frame for
static content, clearTerminal requires 2+ frames (React-specific behavior).
The erase-with-state-change test already covers clearTerminal with rerender.
- 2 React concurrent mode todos removed (N/A for Vue).
80/80 PTY tests pass, 482/482 in-process tests pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-27 10:13:36 +08:00
Yunfei He
5e54e5742d
refactor: replace ref() with shallowRef() in all test files
...
AGENTS.md requires shallowRef by default. All test state uses
reassignment (not mutation), so shallowRef is correct.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-25 23:28:06 +08:00
Yunfei He
3ff03a1895
test: port Ink focus tests (22 tests)
...
Covers tab/shift-tab cycling, auto-focus, per-item disable,
enable/disable focus globally, unmount behavior.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-25 22:06:06 +08:00
Yunfei He
a7f7d9957d
feat(runtime-tests): integration test suite
...
21 test files covering components, composables, focus, lifecycle,
and scheduler through the public render() API.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 18:13:53 +08:00