Passed options should override defaults.
オープン
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 359
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When invoking a reporter with custom options, one must specify _ALL_ options instead of just specifying the option or options they wish to override. This is due to the fact that instead of merging the default options in nodeunit.json with the passed-in options, the passed options are just used wholesale (`if (!options) {`, etc).
It would be super-cool if the passed options would simply override the defaults in nodeunit.json.
Thanks!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、reporter のオプションがどのように読み取られ、nodeunit.json のデフォルト値がどのように読み込まれるかを追跡します。現在のオプションの一括処理を確認し、そのうえで、選択したオプションだけを指定した場合に残りのデフォルト値が維持されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- testing
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100