node-ecstatic icon indicating copy to clipboard operation
node-ecstatic copied to clipboard

Find way to deal with HTTP_PROXY (and friends) env configs when running tests

Open jfhbrook opened this issue 8 years ago • 1 comments

If you accidentally have HTTP_PROXY-related env vars configured, this can severely confuse the tests.

Probably the best approach is to document this edge case. If you run into this issue, the easiest thing to do is probably

HTTP_PROXY='' npm test

or similar.

See: https://github.com/jfhbrook/node-ecstatic/pull/175

jfhbrook avatar Dec 22 '15 21:12 jfhbrook

This might be solve-able by making the tests use pickleback, sidestepping any request issues.

jfhbrook avatar Sep 26 '16 00:09 jfhbrook