Mark the statusCode
property of Endpoint
in mockHook required ?
#849
Labels
question
Further information is requested
Currently the
statusCode
property is marked as optional in theEndpoint
type when making tests. But this can lead to typos. If we make it required it should lead to better DX, but we will have to add it back everywhere it was omitted.The text was updated successfully, but these errors were encountered: