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

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

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

javascript - storing input from prompt in array and displaying the array -