-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
semver-minorimplementation requires increase of "minor" version number; "features"implementation requires increase of "minor" version number; "features"status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: choregenerally involving deps, tooling, configuration, etc.generally involving deps, tooling, configuration, etc.
Description
The main classes (Runnable, Test, Context, Suite, Mocha, etc.) have these setter/getter functions, e.g. Runnable#timeout(). Not all of these, however, implement the "getter" part, where it's supposed to just return the value if it receives no arguments.
Furthermore, there are some methods that might check if the first argument is undefined; they need to check length of arguments instead, because undefined or void 0 is a valid argument.
Metadata
Metadata
Assignees
Labels
semver-minorimplementation requires increase of "minor" version number; "features"implementation requires increase of "minor" version number; "features"status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: choregenerally involving deps, tooling, configuration, etc.generally involving deps, tooling, configuration, etc.