chore: remove 8 subprocess-fixture todo stubs (behaviors already covered)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -145,40 +145,3 @@ test("onScopeDispose fires when exit(error) is called", async () => {
|
|||||||
await waitUntilExit().catch(() => {});
|
await waitUntilExit().catch(() => {});
|
||||||
expect(disposed).toBe(true);
|
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",
|
|
||||||
);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user