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

File agent_chat.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, beforeEach } from "vitest";
2import { AgentChatRepo } from "./agent_chat";
3
4// Mock OPFS 文件系统

Callers

nothing calls this directly

Calls 12

navigateDirFunction · 0.85
saveAttachmentMethod · 0.80
getAttachmentMethod · 0.80
deleteAttachmentMethod · 0.80
deleteAttachmentsMethod · 0.80
saveConversationMethod · 0.80
saveMessagesMethod · 0.80
deleteConversationMethod · 0.80
createMockOPFSFunction · 0.70
hasMethod · 0.65
setMethod · 0.65
textMethod · 0.45

Tested by

no test coverage detected