MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / msg

Function msg

webview-ui/src/utils/__tests__/batchConsecutive.spec.ts:10–12  ·  view source on GitHub ↗

Helper: create a minimal test item with an identifiable text field.

(text: string, type = "say")

Source from the content-addressed store, hash-verified

8
9/** Helper: create a minimal test item with an identifiable text field. */
10function msg(text: string, type = "say"): TestItem {
11 return { ts: Date.now(), type, text }
12}
13
14/** Predicate: matches items whose text starts with "match". */
15const isMatch = (m: TestItem) => !!m.text?.startsWith("match")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected