Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ describe, it, expect, vi, beforeEach } from
"vitest"
;
2
import
{ AgentChatRepo } from
"./agent_chat"
;
3
4
// Mock OPFS 文件系统
Callers
nothing calls this directly
Calls
12
navigateDir
Function · 0.85
saveAttachment
Method · 0.80
getAttachment
Method · 0.80
deleteAttachment
Method · 0.80
deleteAttachments
Method · 0.80
saveConversation
Method · 0.80
saveMessages
Method · 0.80
deleteConversation
Method · 0.80
createMockOPFS
Function · 0.70
has
Method · 0.65
set
Method · 0.65
text
Method · 0.45
Tested by
no test coverage detected