(code: string)
| 15 | const mockRequest = gqlClient.request as jest.Mock; |
| 16 | |
| 17 | const apiError = (code: string) => |
| 18 | Object.assign(new Error(code), { |
| 19 | response: { errors: [{ message: code, extensions: { code } }] }, |
| 20 | }); |
| 21 | |
| 22 | const run = () => getStaticProps({ params: { id: 'achievement-id' } }); |
| 23 |
no outgoing calls
no test coverage detected