(paths: {
readyPath: string
frameLogPath: string
rawOutputPath: string
scenarioPath?: string
})
| 20 | } |
| 21 | |
| 22 | export function buildReplTmuxFixtureCommand(paths: { |
| 23 | readyPath: string |
| 24 | frameLogPath: string |
| 25 | rawOutputPath: string |
| 26 | scenarioPath?: string |
| 27 | }): string { |
| 28 | return ( |
| 29 | `bash -lc 'cd ${shellQuote(TEST_CODE_DIR)} && ` + |
| 30 | `TMPDIR=${shellQuote(TEST_TMPDIR)} ` + |
| 31 | `${shellQuote('/home/xjdr/.bun/bin/bun')} src/testing/replTmuxFixture.tsx ` + |
| 32 | `${shellQuote(paths.readyPath)} ` + |
| 33 | `${shellQuote(paths.frameLogPath)} ` + |
| 34 | `${shellQuote(paths.rawOutputPath)}` + |
| 35 | (paths.scenarioPath ? ` ${shellQuote(paths.scenarioPath)}` : '') + |
| 36 | `'` |
| 37 | ) |
| 38 | } |
| 39 | |
| 40 | export function spawnReplTmuxFixture(options?: { |
| 41 | readonly prefix?: string |
no test coverage detected