Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CopilotKit/CopilotKit
/ create-bot.test.ts
File
create-bot.test.ts
packages/bot/src/create-bot.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect, vi } from
"vitest"
;
2
import
{ z } from
"zod"
;
3
import
{ createBot } from
"./create-bot.js"
;
4
import
{ defineBotCommand } from
"./commands.js"
;
Callers
nothing calls this directly
Calls
15
Button
Function · 0.90
createBot
Function · 0.85
defineBotCommand
Function · 0.85
onMention
Method · 0.80
emitTurn
Method · 0.80
emitInteraction
Method · 0.80
getSink
Method · 0.80
addMessage
Method · 0.80
filter
Method · 0.80
resolve
Method · 0.80
emitCommand
Method · 0.80
tick
Function · 0.70
Tested by
no test coverage detected