MCPcopy Create free account
hub / github.com/Datakitpage/Datakit /

Class

backend/api/src/postgres-proxy/utils/cache.util.spec.ts:346–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 mockMethod = jest.fn();
345
346 class TestClass {
347 @Cacheable((arg1, arg2) => `test:${arg1}:${arg2}`, 100)
348 async testMethod(arg1: string, arg2: string): Promise<string> {
349 return mockMethod(arg1, arg2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected