Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ bash-env.test.ts
File
bash-env.test.ts
packages/agent-core/test/tools/bash-env.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Readable,
type
Writable } from
'node:stream'
;
2
3
import
type
{ Environment, KaosProcess } from
'@moonshot-ai/kaos'
;
4
import
{ describe, expect, it, vi } from
'vitest'
;
Callers
nothing calls this directly
Calls
6
createFakeKaos
Function · 0.90
createBackgroundManager
Function · 0.90
executeTool
Function · 0.90
captureSpawnEnv
Function · 0.85
fakeProcess
Function · 0.70
withEnv
Method · 0.65
Tested by
no test coverage detected