MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / makeRun

Function makeRun

src/app/repo/agent_task.test.ts:21–29  ·  view source on GitHub ↗
(overrides: Partial<AgentTaskRun> = {})

Source from the content-addressed store, hash-verified

19}
20
21function makeRun(overrides: Partial<AgentTaskRun> = {}): AgentTaskRun {
22 return {
23 id: "run-1",
24 taskId: "task-1",
25 starttime: Date.now(),
26 status: "running",
27 ...overrides,
28 };
29}
30
31describe("AgentTaskRepo", () => {
32 let repo: AgentTaskRepo;

Callers 1

agent_task.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected