Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ fetch-usage.test.ts
File
fetch-usage.test.ts
cli/src/utils/__tests__/fetch-usage.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect, beforeEach, mock } from
'bun:test'
2
3
import
{ fetchAndUpdateUsage } from
'../fetch-usage'
4
Callers
nothing calls this directly
Calls
5
fetchAndUpdateUsage
Function · 0.90
beforeEach
Function · 0.85
createDefaultParams
Function · 0.85
setTimeout
Function · 0.85
createMockApiClient
Function · 0.70
Tested by
no test coverage detected