Skip to content

Commit c03d068

Browse files
authored
docs: Fix a few typos (#1201)
There are small typos in: - docs/api.md - docs/architecture.md - docs/configuration.md - docs/how_to.md Fixes: - Should read `without` rather than `wihtout`. - Should read `something` rather than `somthing`. - Should read `scripts` rather than `scriptss`. - Should read `points` rather than `poitns`. - Should read `information` rather than `informatioon`. - Should read `functionality` rather than `funtionality`. - Should read `dependency` rather than `dependecy`. Signed-off-by: Tim Gates <[email protected]> Signed-off-by: Tim Gates <[email protected]>
1 parent d702b31 commit c03d068

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ registerSuite('Suite name', {
226226
},
227227

228228
test2() {
229-
// do somthing
229+
// do something
230230
}
231231
});
232232
```
@@ -246,7 +246,7 @@ registerSuite('Suite name', {
246246
},
247247

248248
test2() {
249-
// do somthing
249+
// do something
250250
}
251251
}
252252
});
@@ -261,7 +261,7 @@ registerSuite('Suite name', {
261261
},
262262

263263
test2() {
264-
// do somthing
264+
// do something
265265
},
266266

267267
'sub-suite': {
@@ -395,7 +395,7 @@ registerSuite('Suite name', {
395395
},
396396

397397
test2: async(dfd => {
398-
// do somthing
398+
// do something
399399
})
400400
}
401401
});

docs/architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ environment-specific default method for loading scripts/modules. This means
5252

5353
## Plugins
5454

55-
Plugins are scripts that provide additional funtionality to Intern. They may
55+
Plugins are scripts that provide additional functionality to Intern. They may
5656
register values or functions that can be directly used in tests, register
57-
callbacks that will fire at certain poitns in the testing process, or modify the
57+
callbacks that will fire at certain points in the testing process, or modify the
5858
environment in some way (e.g., `babel-register`).
5959

6060
```ts

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ query args, or an environment variable. All of these methods use the same basic
3030
syntax and provide the same capabilities. Assuming Intern is being run with the
3131
default [Node runner](running.md#node) or [browser runner](running.md#browser)
3232
and without a `config` argument, Intern will attempt to load configuration
33-
informatioon from an `intern.json` file in the project root.
33+
information from an `intern.json` file in the project root.
3434

3535
Wherever config property values come from, the executor will validate and
3636
normalize them into a canonical format ("resolve" them) when the testing process
@@ -459,7 +459,7 @@ are passed through to the registered loader script.
459459
}
460460
```
461461

462-
It's useful to think of Intern's loader scriptss as glue code that Intern uses
462+
It's useful to think of Intern's loader scripts as glue code that Intern uses
463463
to load configured suites within the environment. When Intern needs to load a
464464
module (i.e. a test suite) it hands off a list of these modules to the loader
465465
script and waits for the loading process to be handled by the loader. For more

docs/how_to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ support. Internally, modules are loaded using script tags, like:
282282
<script src="myscript.js" type="module"></script>
283283
```
284284

285-
> ⚠️ Note that the `esm` loader requires that _all_ modules in a dependecy tree
285+
> ⚠️ Note that the `esm` loader requires that _all_ modules in a dependency tree
286286
> be ESMs, so its utility is currently somewhat limited.
287287
288288
## Use Intern with a remote service like BrowserStack
@@ -352,7 +352,7 @@ order specified.
352352
When writing unit tests with Intern, occasionally you will need to interact with
353353
a web service. However, because the Intern serves code at
354354
`http://localhost:9000` by default, any cross-origin requests will fail. In
355-
order to test Ajax requests wihtout using CORS of JSONP, setup a reverse proxy
355+
order to test Ajax requests without using CORS of JSONP, setup a reverse proxy
356356
to Intern and tell the in-browser test runner to load from that URL by setting
357357
the `serverUrl` configuration option.
358358

0 commit comments

Comments
 (0)