MCPcopy Create free account
hub / github.com/dailydotdev/apps / open

Function open

packages/shared/src/features/patchy/usePatchyAssistant.spec.tsx:64–71  ·  view source on GitHub ↗
(id: string, tags: string[], extra = {})

Source from the content-addressed store, hash-verified

62 );
63
64const open = (id: string, tags: string[], extra = {}) =>
65 act(() => {
66 emitPatchyEvent({
67 type: 'post_open',
68 tags,
69 post: { id, tags, readTime: 4, ...extra },
70 });
71 });
72
73describe('usePatchyAssistant', () => {
74 beforeEach(() => {

Callers 1

Calls 1

emitPatchyEventFunction · 0.90

Tested by

no test coverage detected