Skip to content

Commit efda5e4

Browse files
committed
chore: fix some typos in comments
Signed-off-by: StevenMia <flite@foxmail.com>
1 parent e263c7a commit efda5e4

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/changelogs/CHANGELOG_V3_older.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
789789

790790
# 1.10.0 / 2013-05-21
791791

792-
- add add better globbing support for windows via `glob` module
792+
- add better globbing support for windows via `glob` module
793793
- add support to pass through flags such as --debug-brk=1234. Closes [#852](https://github.com/mochajs/mocha/issues/852)
794794
- add test.only, test.skip to qunit interface
795795
- change to always use word-based diffs for now. Closes [#733](https://github.com/mochajs/mocha/issues/733)

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ Available root hooks and their behavior:
14581458

14591459
> _Tip: If you need to ensure code runs once and only once in any mode, use [global fixtures](#global-fixtures)._
14601460
1461-
As with other hooks, `this` refers to to the current context object:
1461+
As with other hooks, `this` refers to the current context object:
14621462

14631463
```js
14641464
// test/hooks.mjs

lib/nodejs/reporters/parallel-buffered.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const ONCE_EVENT_NAMES = [EVENT_DELAY_BEGIN, EVENT_DELAY_END];
5454

5555
/**
5656
* The `ParallelBuffered` reporter is used by each worker process in "parallel"
57-
* mode, by default. Instead of reporting to to `STDOUT`, etc., it retains a
57+
* mode, by default. Instead of reporting to `STDOUT`, etc., it retains a
5858
* list of events it receives and hands these off to the callback passed into
5959
* {@link Mocha#run}. That callback will then return the data to the main
6060
* process.

lib/nodejs/serializer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class SerializableEvent {
117117
/**
118118
* Constructs a `SerializableEvent`, throwing if we receive unexpected data.
119119
*
120-
* Practically, events emitted from `Runner` have a minumum of zero (0)
120+
* Practically, events emitted from `Runner` have a minimum of zero (0)
121121
* arguments-- (for example, {@link Runnable.constants.EVENT_RUN_BEGIN}) and a
122122
* maximum of two (2) (for example,
123123
* {@link Runnable.constants.EVENT_TEST_FAIL}, where the second argument is an

package-scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = {
110110
},
111111
qunit: {
112112
script: test('qunit', '--ui qunit test/interfaces/qunit.spec'),
113-
description: 'Run Node.js QUnit interace tests',
113+
description: 'Run Node.js QUnit interface tests',
114114
hiddenFromHelp: true
115115
},
116116
exports: {

test/integration/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The `helpers.js` module contains many functions to handle the common cases of sp
3131
By default, all of these helpers run with the following options:
3232

3333
- `--no-color`: it's easier to make assertions about output w/o having to deal w/ ANSI escape codes
34-
- `--no-bail`: overrides a configuration file w/ `bail: true`; providing `--bail` to the arguments list will supress this (useful when testing `--bail`!)
34+
- `--no-bail`: overrides a configuration file w/ `bail: true`; providing `--bail` to the arguments list will suppress this (useful when testing `--bail`!)
3535
- `--no-parallel`: overrides a configuration file w/ `parallel: true`; providing `--parallel` to the arguments list will suppress this
3636

3737
## Environment Variables Which Do Stuff

0 commit comments

Comments
 (0)