MCPcopy Create free account
hub / github.com/Noumena-Network/code / buildFixtureArgs

Function buildFixtureArgs

src/testing/replPtyFixtureHarness.ts:54–71  ·  view source on GitHub ↗
(paths: {
  readyPath: string
  frameLogPath: string
  rawOutputPath: string
  scenarioPath?: string
})

Source from the content-addressed store, hash-verified

52}
53
54function 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
73export function spawnReplPtyFixture(options?: {
74 readonly prefix?: string

Callers 1

spawnReplPtyFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected