stanleyhlng / mocha-multi-reporters

Generate multiple mocha reports in a single mocha execution.
MIT License
74 stars 22 forks source link

Detect and read a config.json file in project without flag #59

Open drazisil opened 5 years ago

drazisil commented 5 years ago

Expected behavior

config.json is detected and used instead of defaults, without the need for a flag

Actual behavior

Ignores config.json and uses internal defaults, which are not clearly documented

Information about the Issue

Causes frustration and confusion. Otherwise, this is a great mod, please don't think I'm complaining that much, I'm very clear this is a feature request and not a bug. :)

Steps to reproduce the behavior

  1. Create a config.json file in project root
  2. Do not add the flag
  3. Be confused when internal defaults are silently used, instead of a warning.