I just started using mocha to test my site. My test runner expects some command-line arguments though. When I run
mocha mytest.js arg1 arg2
All the args to to mocha, not my mytest script. Is there a way to forward them along?
I just started using mocha to test my site. My test runner expects some command-line arguments though. When I run
mocha mytest.js arg1 arg2
All the args to to mocha, not my mytest script. Is there a way to forward them along?
mocha is going to think those are paths to test files/directories. Maybe use environment variables or a configuration file instead of command line arguments.