Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/thesysdev/openui
/ createChatStore.test.ts
File
createChatStore.test.ts
packages/react-headless/src/store/__tests__/createChatStore.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it, vi } from
"vitest"
;
2
import
type
{ Message, Thread, UserMessage } from
"../types"
;
3
import
{ makeStore } from
"./__helpers/makeStore"
;
4
Callers
nothing calls this directly
Calls
8
makeStore
Function · 0.90
makeThread
Function · 0.85
makeMessage
Function · 0.85
getState
Method · 0.80
flushPromises
Function · 0.70
createThread
Method · 0.65
deleteThread
Method · 0.65
updateThread
Method · 0.65
Tested by
no test coverage detected