Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ session-cancel.test.ts
File
session-cancel.test.ts
packages/node-sdk/test/session-cancel.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ writeFile } from
'node:fs/promises'
;
2
import
{ join } from
'node:path'
;
3
4
import
type
* as KosongModule from
'@moonshot-ai/kosong'
;
Callers
nothing calls this directly
Calls
15
removeTempDirs
Function · 0.90
makeTempDir
Function · 0.90
waitForSDKEvent
Function · 0.90
writeFakeModelConfig
Function · 0.85
createKimiHarness
Function · 0.85
mock
Method · 0.80
createSession
Method · 0.65
onEvent
Method · 0.65
prompt
Method · 0.65
cancel
Method · 0.65
close
Method · 0.65
compact
Method · 0.65
Tested by
no test coverage detected