Skip to content

Commit

Permalink
Fixing typos (mochajs#4404)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix typos

* Fix netlify deploy preview issue
  • Loading branch information
donghoon-song authored and irrationnelle committed Aug 23, 2020
1 parent 814338e commit 2c2bb5b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit 2c2bb5b

Please sign in to comment.