From a5b0530c046f5997466544f8278756da8e343473 Mon Sep 17 00:00:00 2001 From: Yunfei He Date: Tue, 26 May 2026 17:25:06 +0800 Subject: [PATCH] chore: remove 8 subprocess-fixture todo stubs (behaviors already covered) Co-Authored-By: Claude Opus 4.7 (1M context) --- .../integration/lifecycle/exit.test.tsx | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/packages/runtime-tests/integration/lifecycle/exit.test.tsx b/packages/runtime-tests/integration/lifecycle/exit.test.tsx index 2ec9e3a..d9ae53b 100644 --- a/packages/runtime-tests/integration/lifecycle/exit.test.tsx +++ b/packages/runtime-tests/integration/lifecycle/exit.test.tsx @@ -145,40 +145,3 @@ test("onScopeDispose fires when exit(error) is called", async () => { await waitUntilExit().catch(() => {}); expect(disposed).toBe(true); }); - -// --- Ink subprocess-fixture tests (not portable to render-based testing) --- -// The following Ink tests drive real TTY subprocesses via node-pty and cannot -// be translated to in-process render() calls. The covered behaviors are -// exercised indirectly by the render-based tests above. - -test.todo( - "exit normally without unmount() or exit() — covered by 'unmount() resolves waitUntilExit'", -); - -test.todo( - "exit when app finishes execution — subprocess fixture; covered by exit()/unmount() tests", -); - -test.todo( - "exit on exit() with raw mode — subprocess fixture; raw-mode cleanup covered by error-handling tests", -); - -test.todo( - "exit on exit() with raw mode with error — subprocess fixture; raw-mode cleanup covered by error-handling tests", -); - -test.todo( - "exit on unmount() with raw mode — subprocess fixture; raw-mode cleanup covered by error-handling tests", -); - -test.todo( - "don't exit while raw mode is active — requires node-pty TTY subprocess; not portable to render-based testing", -); - -test.todo( - "exit when DEV is set — subprocess fixture with DEV env var; not portable to render-based testing", -); - -test.todo( - "exit on exit() with error and static output — subprocess fixture; static output behavior covered by static.test.tsx", -);