MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / token-count.test.ts

File token-count.test.ts

web/src/app/api/v1/token-count/__tests__/token-count.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'bun:test'
2
3import {
4 convertContentToAnthropic,

Callers

nothing calls this directly

Calls 6

countTokensViaOpenAIFunction · 0.90
formatToolContentFunction · 0.90
createMockFetchFunction · 0.70

Tested by

no test coverage detected