We had a problem where mocha wasn't finding mocha.opts, but it was silently just letting it fly and trying to run the tests. If I specify with --opts, I would expect it to throw an error if the file doesn't exist:
mocha --opts foo.opts # should throw an error if foo.opts doesn't exist
We had a problem where mocha wasn't finding
mocha.opts, but it was silently just letting it fly and trying to run the tests. If I specify with--opts, I would expect it to throw an error if the file doesn't exist: