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

Function fetchNotificationsMock

packages/webapp/__tests__/NotificationsPage.tsx:65–71  ·  view source on GitHub ↗
(
  data: NotificationsData = sampleNotificationData,
  variables = { first: 100, after: '' },
)

Source from the content-addressed store, hash-verified

63};
64
65const fetchNotificationsMock = (
66 data: NotificationsData = sampleNotificationData,
67 variables = { first: 100, after: '' },
68): MockedGraphQLResponse<NotificationsData> => ({
69 request: { query: NOTIFICATIONS_QUERY, variables },
70 result: { data },
71});
72
73let client: QueryClient;
74

Callers 2

renderComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected