You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Introduced msw for mocking requests in http-client tests in #113. Currently only configured for node, will need to configure for browser tests in a followup PR.
Currently http-client methods returns
DataResponse
orErrorResponse
, both of which areHttpResponse
s. The Developer Experience is a bit awkward becausestatus
andheaders
doesn't really provide any benefitWe may want to consider something a bit more high level that:
headers
andstatus
in what's returnedfor example,
getOfferings
would just returnOffering[]
on success or throw an error otherwise.The text was updated successfully, but these errors were encountered: