MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / makeRunner

Function makeRunner

test-hooks.mjs:8–18  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

6const ok = (name) => { console.log(` ok - ${name}`); passed++ }
7
8function makeRunner(config) {
9 const systemMessages = []
10 const runner = new HookRunner({
11 cwd: process.cwd(),
12 sessionId: "test-session",
13 transcriptPath: "/tmp/test-session.json",
14 config,
15 onSystemMessage: (message, isError) => systemMessages.push({ message, isError }),
16 })
17 return { runner, systemMessages }
18}
19
20// 1. No config -> no-op
21{

Callers 1

test-hooks.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected