MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createInstance

Function createInstance

services/gmail-push/src/idempotency.test.ts:46–53  ·  view source on GitHub ↗
(storage = createFakeStorage())

Source from the content-addressed store, hash-verified

44}
45
46function createInstance(storage = createFakeStorage()) {
47 const ctx = { storage } as unknown;
48 const instance = new GmailPushIdempotency(
49 ctx as ConstructorParameters<typeof GmailPushIdempotency>[0],
50 {} as ConstructorParameters<typeof GmailPushIdempotency>[1]
51 );
52 return { instance, storage };
53}
54
55describe('GmailPushIdempotency', () => {
56 describe('checkAndMark', () => {

Callers 1

Calls 1

createFakeStorageFunction · 0.70

Tested by

no test coverage detected