caolan / caolan/nodeunit

Passed options should override defaults.

Offen
#113 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.9k
Forks
359
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.