(paths: {
readyPath: string
frameLogPath: string
rawOutputPath: string
scenarioPath?: string
})
| 52 | } |
| 53 | |
| 54 | function buildFixtureArgs(paths: { |
| 55 | readyPath: string |
| 56 | frameLogPath: string |
| 57 | rawOutputPath: string |
| 58 | scenarioPath?: string |
| 59 | }): string[] { |
| 60 | const args = [ |
| 61 | process.execPath, |
| 62 | 'src/testing/replTmuxFixture.tsx', |
| 63 | paths.readyPath, |
| 64 | paths.frameLogPath, |
| 65 | paths.rawOutputPath, |
| 66 | ] |
| 67 | if (paths.scenarioPath) { |
| 68 | args.push(paths.scenarioPath) |
| 69 | } |
| 70 | return args |
| 71 | } |
| 72 | |
| 73 | export function spawnReplPtyFixture(options?: { |
| 74 | readonly prefix?: string |
no outgoing calls
no test coverage detected