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

Function callback

packages/shared/src/contexts/LogContext.spec.tsx:128–131  ·  view source on GitHub ↗
({ logEvent }: LogContextData)

Source from the content-addressed store, hash-verified

126it('should batch events before sending', async () => {
127 mockEventsEndpoint();
128 const callback = ({ logEvent }: LogContextData) => {
129 logEvent({ event_name: 'e1' });
130 logEvent({ event_name: 'e2' });
131 };
132
133 render(
134 <TestComponent

Callers 3

LogContextTesterFunction · 0.70
initFunction · 0.70
wrapStopPropagationFunction · 0.50

Calls 4

logEventFunction · 0.85
mockEventsEndpointFunction · 0.85
logEventStartFunction · 0.85
logEventEndFunction · 0.85

Tested by

no test coverage detected