Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ usage.test.ts
File
usage.test.ts
packages/kosong/test/usage.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ TokenUsage } from
'#/usage'
;
2
import
{ addUsage, emptyUsage, grandTotal, inputTotal } from
'#/usage'
;
3
import
{ describe, expect, it } from
'vitest'
;
4
Callers
nothing calls this directly
Calls
4
emptyUsage
Function · 0.90
inputTotal
Function · 0.90
grandTotal
Function · 0.90
addUsage
Function · 0.90
Tested by
no test coverage detected