Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ create-rpc.test.ts
File
create-rpc.test.ts
packages/agent-core/test/rpc/create-rpc.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi } from
'vitest'
;
2
3
import
{ ErrorCodes, KimiError } from
'../../src/errors'
;
4
import
{ createRPC } from
'../../src/rpc'
;
Callers
nothing calls this directly
Calls
8
createRPC
Function · 0.90
callProvider
Method · 0.80
misbehave
Method · 0.80
emitEvent
Method · 0.65
requestApproval
Method · 0.65
getConfig
Method · 0.65
fail
Method · 0.65
prompt
Method · 0.65
Tested by
no test coverage detected