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

Function context

packages/webapp/__tests__/ProfileLayoutStaticProps.tsx:25–26  ·  view source on GitHub ↗
(userId?: string)

Source from the content-addressed store, hash-verified

23}
24
25const context = (userId?: string) =>
26 ({ params: { userId } }) as unknown as GetStaticPropsContext<ProfileParams>;
27
28const respondProfile = (body: unknown, status = 200) =>
29 fetchMock.mockResolvedValue({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected