caolan / caolan/nodeunit

Passed options should override defaults.

Open
#113 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.