MCPcopy Create free account
hub / github.com/block/buzz / mockEventId

Function mockEventId

desktop/src/testing/e2eBridge.ts:4304–4308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4302}
4303
4304function mockEventId(): string {
4305 const bytes = new Uint8Array(32);
4306 crypto.getRandomValues(bytes);
4307 return Array.from(bytes, (b) => b.toString(16).padStart(2, "0")).join("");
4308}
4309
4310function createMockEvent(
4311 kind: number,

Callers 1

handleAddReactionFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected