node.js - Execute mocha tests through proxy or not with grunt -


i'd configure mocha tests performed behind proxy or not. example,

grunt test  

would execute tests have defined in test folder on localhost (no proxy).

and

export http_proxy=proxy:port grunt test mywebsite.com 

would execute tests through proxy.

is possible?


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -