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++ - rosrun via ssh doesnt start a node properly -

android - questions about switching from C2DM to GCM -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -