graasp / graasp-query-client

GNU Affero General Public License v3.0
1 stars 0 forks source link

Mark the `statusCode` property of `Endpoint` in mockHook required ? #849

Open spaenleh opened 1 month ago

spaenleh commented 1 month ago

Currently the statusCode property is marked as optional in the Endpoint 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.