Suggested improvement to use function args with req / res
thomaschaplin opened this issue · 0 comments
thomaschaplin commented
The following points have been raised when the tool was being presented:
The tool could use req
and res
parameters as a function "as this is the standard for libraries like these". While the nock and msw libraries indeed use such a pattern, I would actually push back on this one as the current API with its object structure has been in discussions and design phases since this tool's inception exactly because our impression was that function parameters are too clunky.