Skip to content

Commit

Permalink
Docs: Fix a few typos
Browse files Browse the repository at this point in the history
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 <tim.gates@iress.com>
  • Loading branch information
timgates42 committed Nov 27, 2022
1 parent a4354d7 commit fc278e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/assert/notPropEqual.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ QUnit.test('example', assert => {
const foo = new Foo();

// succeeds, only own property values are compared (using strict equality),
// and propery "x" is indeed not equal (string instead of number).
// and property "x" is indeed not equal (string instead of number).
assert.notPropEqual(foo, {
x: 1,
y: 2
Expand Down
2 changes: 1 addition & 1 deletion src/core/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config = {
// defaults to `true`
failOnZeroTests: true,

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

// Depth up-to which object will be dumped
Expand Down
2 changes: 1 addition & 1 deletion src/html-reporter/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export function escapeText (str) {
//
// We don't reference `config.moduleId` directly after this and keep our own
// copy because:
// 1. This naturaly filters out unknown moduleIds.
// 1. This naturally filters out unknown moduleIds.
// 2. Gives us a place to manage and remember unsubmitted checkbox changes.
// 3. Gives us an efficient way to map a selected moduleId to module name
// during rendering.
Expand Down
2 changes: 1 addition & 1 deletion test/cli/helpers/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function normalize (actual) {

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

0 comments on commit fc278e8

Please sign in to comment.