()
| 23 | const SCRIPT = join(import.meta.dir, "..", "bin", "gstack-gbrain-sync.ts"); |
| 24 | |
| 25 | function makeTestHome(): string { |
| 26 | return mkdtempSync(join(tmpdir(), "gstack-gbrain-sync-")); |
| 27 | } |
| 28 | |
| 29 | function runScript(args: string[], env: Record<string, string> = {}): { stdout: string; stderr: string; exitCode: number } { |
| 30 | const result = spawnSync("bun", [SCRIPT, ...args], { |
no outgoing calls
no test coverage detected