(body: unknown, status = 200)
| 26 | ({ params: { userId } }) as unknown as GetStaticPropsContext<ProfileParams>; |
| 27 | |
| 28 | const respondProfile = (body: unknown, status = 200) => |
| 29 | fetchMock.mockResolvedValue({ |
| 30 | status, |
| 31 | json: async () => body, |
| 32 | }); |
| 33 | |
| 34 | beforeEach(() => { |
| 35 | jest.clearAllMocks(); |
no outgoing calls
no test coverage detected