MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / agent_task.test.ts

File agent_task.test.ts

src/app/repo/agent_task.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, beforeEach } from "vitest";
2import { AgentTaskRepo, AgentTaskRunRepo } from "./agent_task";
3import type { AgentTask, AgentTaskRun } from "@App/app/service/agent/core/types";
4import { createMockOPFS } from "./test-helpers";

Callers

nothing calls this directly

Calls 13

createMockOPFSFunction · 0.90
makeRunFunction · 0.85
saveTaskMethod · 0.80
getTaskMethod · 0.80
listTasksMethod · 0.80
removeTaskMethod · 0.80
appendRunMethod · 0.80
listRunsMethod · 0.80
clearRunsMethod · 0.80
updateRunMethod · 0.80
pushMethod · 0.80
writeJsonFileMethod · 0.80

Tested by

no test coverage detected