MCPcopy
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

1import { beforeEach, describe, expect, it, vi } from "vitest";
2import type { Message, Thread, UserMessage } from "../types";
3import { makeStore } from "./__helpers/makeStore";
4

Callers

nothing calls this directly

Calls 8

makeStoreFunction · 0.90
makeThreadFunction · 0.85
makeMessageFunction · 0.85
getStateMethod · 0.80
flushPromisesFunction · 0.70
createThreadMethod · 0.65
deleteThreadMethod · 0.65
updateThreadMethod · 0.65

Tested by

no test coverage detected