Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3363: Throw error if unable to parse Mocha options file #3376

Closed
wants to merge 4 commits into from

Commits on May 4, 2018

  1. fix(bin/options.js): Throw error if unable to parse Mocha options file

    Code now throws an error for any problems (except nonexistent default "test/mocha.opts").
    
    Fixes mochajs#3363
    plroebuck committed May 4, 2018
    Configuration menu
    Copy the full SHA
    5f6394d View commit details
    Browse the repository at this point in the history

Commits on May 5, 2018

  1. docs(docs/index.md): Update "mocha.opts" documentation

    Added information on file content, noting support for comment/blank lines.
    plroebuck committed May 5, 2018
    Configuration menu
    Copy the full SHA
    d6a5c10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d0aaa1 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2018

  1. test(options.spec.js): Added tests for --opts cmdline option

    Added tests for `--opts` as none previously existed. Added "do nothing" fixture test. Minor change
    to helper routine so that it used `path.join()` properly.
    plroebuck committed May 12, 2018
    Configuration menu
    Copy the full SHA
    e0b1aaa View commit details
    Browse the repository at this point in the history