a7f7d9957d
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>
25 lines
456 B
TypeScript
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);
|
|
}
|
|
});
|