The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import * as NodeChildProcess from "node:child_process"; |
| 2 | import * as NodeURL from "node:url"; |
| 3 | import { it } from "vite-plus/test"; |
| 4 | |
| 5 | // The converter is C++, so its test compiles and runs on the host. |
| 6 | it("transcodes UTF-16 the way jsi::String::utf8 does", () => { |
| 7 | NodeChildProcess.execFileSync( |
| 8 | "bash", |
| 9 | [NodeURL.fileURLToPath(new URL("./run.sh", import.meta.url))], |
| 10 | { |
| 11 | stdio: "pipe", |
| 12 | }, |
| 13 | ); |
| 14 | }); |