chore: remove 8 exit todo stubs (covered by PTY fixtures)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yunfei He
2026-05-26 22:23:39 +08:00
parent 3422e6edc1
commit 2e01fc50a4
@@ -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",
);