Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In 2.2.1 behavior has changed when network connections are disabled #261

Open
paulmelnikow opened this issue Jul 1, 2019 · 0 comments
Open

Comments

@paulmelnikow
Copy link
Collaborator

After #257 behavior has changed when network connections are disabled. It's emitting this error:

     NetConnectNotAllowedError: Nock: Disallowed net connect for "example.com:80/test"
      at /Users/pnm/code/icedfrisby-nock/node_modules/nock/lib/intercept.js:449:23
      at Object.module.request (node_modules/nock/lib/common.js:99:14)
      at Request.start (node_modules/request/request.js:751:32)
      at Request.end (node_modules/request/request.js:1511:10)
      at end (node_modules/request/request.js:564:14)
      at Immediate.<anonymous> (node_modules/request/request.js:578:7)

Where before the 599 error code was being returned.

I'm not sure if this was intended; needs some more investigation.

See paulmelnikow/icedfrisby-nock#106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant