Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing typos #4404

Merged
merged 3 commits into from Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/mocha.js
Expand Up @@ -807,7 +807,7 @@ Mocha.prototype.slow = function(msecs) {
*
* @public
* @see [CLI option](../#-async-only-a)
* @param {boolean} [asyncOnly=true] - Wether to force `done` callback or promise.
* @param {boolean} [asyncOnly=true] - Whether to force `done` callback or promise.
* @return {Mocha} this
* @chainable
*/
Expand Down Expand Up @@ -847,7 +847,7 @@ Mocha.prototype.allowUncaught = function(allowUncaught) {
* Delays root suite execution.
*
* @description
* Used to perform asynch operations before any suites are run.
* Used to perform async operations before any suites are run.
*
* @public
* @see [delayed root suite](../#delayed-root-suite)
Expand Down
2 changes: 1 addition & 1 deletion lib/nodejs/serializer.js
Expand Up @@ -56,7 +56,7 @@ class SerializableWorkerResult {
/**
* Instantiates a new {@link SerializableWorkerResult}.
* @param {...any} args - Args to constructor
* @returns {SerilizableWorkerResult}
* @returns {SerializableWorkerResult}
*/
static create(...args) {
return new SerializableWorkerResult(...args);
Expand Down
2 changes: 1 addition & 1 deletion lib/runner.js
Expand Up @@ -206,7 +206,7 @@ Runner.prototype._addEventListener = function(target, eventName, listener) {
/**
* Replacement for `target.removeListener(eventName, listener)` that also updates the bookkeeping.
* @param {EventEmitter} target - The `EventEmitter`
* @param {string} eventName - The event anme
* @param {string} eventName - The event name
* @param {function} listener - Listener function
* @private
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -508,7 +508,7 @@ exports.isPromise = function isPromise(value) {
* Clamps a numeric value to an inclusive range.
*
* @param {number} value - Value to be clamped.
* @param {numer[]} range - Two element array specifying [min, max] range.
* @param {number[]} range - Two element array specifying [min, max] range.
* @returns {number} clamped value
*/
exports.clamp = function clamp(value, range) {
Expand Down