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
Post a Comment