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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -