stanleyhlng / mocha-multi-reporters

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

Pass options to reporter as reporterOption #104

Open ThePletch opened 1 year ago

ThePletch commented 1 year ago

Some reporters (e.g. the json reporter) expect reporter options to be set under the reporterOption key and don't recognize options passed under reporterOptions. To ensure compatibility, this change passes in the options under both keys.

ThePletch commented 1 year ago

excited to celebrate this one-liner PR's birthday @stanleyhlng