node.js - Pass arguments to program through mocha -


i started using mocha test site. test runner expects command-line arguments though. when run

mocha mytest.js arg1 arg2 

all args to mocha, not mytest script. there way forward them along?

mocha going think paths test files/directories. maybe use environment variables or configuration file instead of command line arguments.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -