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
// As weird as it is, it's possible to call http.request without
// options, and it makes a request to localhost or somesuch. We should
// support it too, for parity. However it doesn't work today, and fixing
// it seems low priority. Giving an explicit error is nicer than
// crashing with a weird stack trace. new ClientRequest(), nock's
// other client-facing entry point, makes a similar check.
// nock/nock#1386
// nock/nock#1440
I think we should follow and just throw error. currently we throw:
Cannot use 'in' operator to search for 'hash' in undefined
The text was updated successfully, but these errors were encountered:
From nock's source code:
I think we should follow and just throw error. currently we throw:
The text was updated successfully, but these errors were encountered: