MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / defineRun

Function defineRun

packages/cli/src/utils/command-failure-tracking.test.ts:12–14  ·  view source on GitHub ↗
(run: CommandDef["run"])

Source from the content-addressed store, hash-verified

10 await import("./command-failure-tracking.js");
11
12function defineRun(run: CommandDef["run"]): CommandDef {
13 return { meta: { name: "test" }, run };
14}
15
16describe("trackCommandFailures", () => {
17 it("reports the error and re-throws when run() rejects", async () => {

Calls

no outgoing calls

Tested by

no test coverage detected