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
Use cwd-relative pathname to load config file #3829
Commits on Mar 12, 2019
-
fix(lib/cli/config.js): Add cwd-relative fallback to load config file
Original code only used module-relative path loading, which made `--config` argument non-obvious. Added fallback processing. Added debug logging. Minor cleanup. #3822
Commits on Mar 14, 2019
Commits on Mar 16, 2019
-
feat(cli/config.js): Change config file load scheme to be cwd-relative
Changed parser load order to attempt local file load first. Additionally, made change that allows for Mocha config to be loaded from a package. BREAKING CHANGE: Anyone depending on previous module-based loading style will need to change to cwd-relative scheme.
-
-
-
Commits on Mar 17, 2019
-
test(integration/config.spec.js): Add tests for configuring with a pa…
…ckage As I used symlinks, some tests will likely fail on Windows...
Commits on Mar 18, 2019
Commits on Mar 19, 2019
-
test(fixtures/config/mocha-config): Add fixture for Mocha configurati…
…on package That moment when you realize the tests are failing b/c you forgot to commit the fixture...
Commits on Apr 5, 2019
-
-
-
test(cli/config.spec.js): Updated CLI test
Reverted back to use JSON parser by default.
-
refactor(cli/config.js): Updates per PR review
Reverted `loadConfig` to default to JSON parser. Changed `parsers.js` to fallback to module-relative loading, removing the package loader.