MCPcopy Create free account
hub / github.com/ding113/claude-code-hub / createKeyStats

Function createKeyStats

tests/unit/redis/statistics-cache.test.ts:60–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60function createKeyStats(): DatabaseKeyStatRow[] {
61 return [
62 {
63 key_id: 100,
64 key_name: "test-key",
65 date: "2026-02-19",
66 api_calls: 6,
67 total_cost: "0.56",
68 },
69 ];
70}
71
72describe("getStatisticsWithCache", () => {
73 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected