Skip to content

Should not silently fail given --opts option #2576

Description

@mockdeep

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: buga defect, confirmed by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions