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