Skip to content
#

nock

Here are 40 public repositories matching this topic...

chrisjensen
chrisjensen commented Mar 29, 2020

What is the expected behavior?
If I use

nock('https://example.com/my_url', { reqheader }).log(console.log);

I would expect that a request to https://example.com would be checked against that route and that the logging would show that.

What is the actual behavior?

Nothing is logged to the console if the headers do not match the specified reqheader
This is confusing be

Improve this page

Add a description, image, and links to the nock topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nock topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.