Files
vue-tui/packages/runtime-tests/integration/public-api.test.ts
T
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

25 lines
456 B
TypeScript

import { expect, test } from "vite-plus/test";
import * as api from "@vue-tui/runtime";
test("public API exposes documented members", () => {
for (const k of [
"createApp",
"Box",
"Text",
"Newline",
"Spacer",
"Static",
"Transform",
"useExit",
"useInput",
"useFocus",
"useFocusManager",
"useStdin",
"useStdout",
"useStderr",
"useTerminalSize",
]) {
expect(api).toHaveProperty(k);
}
});