Skip to content

Commit fc278e8

Browse files
authored
Docs: Fix a few typos
Fixes: - Should read `property` rather than `propery`. - Should read `occurs` rather than `ocurrs`. - Should read `naturally` rather than `naturaly`. - Should read `insensitive` rather than `insenstive`. Closes #1709 Signed-off-by: Tim Gates <[email protected]>
1 parent a4354d7 commit fc278e8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/assert/notPropEqual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ QUnit.test('example', assert => {
4747
const foo = new Foo();
4848

4949
// succeeds, only own property values are compared (using strict equality),
50-
// and propery "x" is indeed not equal (string instead of number).
50+
// and property "x" is indeed not equal (string instead of number).
5151
assert.notPropEqual(foo, {
5252
x: 1,
5353
y: 2

src/core/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
// defaults to `true`
1919
failOnZeroTests: true,
2020

21-
// Select by pattern or case-insenstive substring match against "moduleName: testName"
21+
// Select by pattern or case-insensitive substring match against "moduleName: testName"
2222
filter: undefined,
2323

2424
// Depth up-to which object will be dumped

src/html-reporter/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export function escapeText (str) {
379379
//
380380
// We don't reference `config.moduleId` directly after this and keep our own
381381
// copy because:
382-
// 1. This naturaly filters out unknown moduleIds.
382+
// 1. This naturally filters out unknown moduleIds.
383383
// 2. Gives us a place to manage and remember unsubmitted checkbox changes.
384384
// 3. Gives us an efficient way to map a selected moduleId to module name
385385
// during rendering.

test/cli/helpers/execute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function normalize (actual) {
4040

4141
// Convert /bin/qunit and /src/cli to internal as well
4242
// Because there are differences between Node 10 and Node 12 in terms
43-
// of how much back and forth ocurrs, so by mapping both to internal
43+
// of how much back and forth occurs, so by mapping both to internal
4444
// we can flatten and normalize across.
4545
.replace(/^(\s+at ).*\/qunit\/bin\/qunit\.js.*$/gm, '$1internal')
4646
.replace(/^(\s+at ).*\/qunit\/src\/cli\/.*$/gm, '$1internal')

0 commit comments

Comments
 (0)