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
nock.pendingMocks() is not meant to return the search component of the href, however, it will still match requests as expected. And you not seeing Nock intercept requests? Have you tried enabling debug logging? https://github.com/nock/nock#debugging
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We try to do our best, but nock is maintained by volunteers and there is only so much we can do at a time. Thank you for your contributions.
I'm having issue using nock with an endpoint that has a question mark ex:
nock(USER_SERVICE_URL) .get('/user?type=person') .reply(200, REMOTE_PERSONS_MOCK);
when checking
nock.pendingMocks()
I gethttp://user-service/user
I also tried using nock like this but it didn't help
nock(USER_SERVICE_URL) .get('/user') .query({type: 'person'}) .reply(200, REMOTE_PERSONS_MOCK);
The text was updated successfully, but these errors were encountered: