testShellWord
import { shellWord } from "#codebase/tcmts/cli/ui"; export const testShellWord = () => { if (shellWord("sessions/scratch.ts") !== "sessions/scratch.ts") throw new Error("plain"); if (shellWord("/a b/it's.ts") !== `'/a b/it'\\''s.ts'`) throw new Error(shellWord("/a b/it's.ts")); }