Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ image-placeholder.test.ts
File
image-placeholder.test.ts
apps/kimi-code/test/tui/input/image-placeholder.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mkdtempSync, readFileSync, rmSync, writeFileSync } from
'node:fs'
;
2
import
{ tmpdir } from
'node:os'
;
3
import
{ join } from
'node:path'
;
4
Callers
nothing calls this directly
Calls
9
extractMediaAttachments
Function · 0.90
getCacheDir
Function · 0.90
storeWith
Function · 0.85
setupTempCache
Function · 0.85
videoPathFromParts
Function · 0.85
addImage
Method · 0.80
addVideo
Method · 0.80
makeTempDir
Function · 0.70
cleanup
Function · 0.50
Tested by
no test coverage detected