Skip to content

Commit

Permalink
Assorted typo fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and trentmwillis committed Oct 1, 2019
1 parent 5742024 commit d7f1e27
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/QUnit/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ QUnit.module( "Robot", function() {
// ...
} );

// Currenly working on implementing features related to androids
// Currently working on implementing features related to androids
QUnit.module.only( "Android", function( hooks ) {
hooks.beforeEach( function() {
this.android = new Android();
Expand Down Expand Up @@ -337,7 +337,7 @@ QUnit.module( "Robot", function() {
// ...
} );

// Tests related to androids are failling due to unkown cause.
// Tests related to androids are failling due to unknown cause.
// Skipping them for now.
QUnit.module.skip( "Android", function( hooks ) {
hooks.beforeEach( function() {
Expand Down
4 changes: 2 additions & 2 deletions docs/callbacks/QUnit.log.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The properties of the details argument are listed below as options.
| parameter | description |
|-----------|-------------|
| `result` (boolean) | The boolean result of an assertion, `true` means passed, `false` means failed. |
| `actual` | One side of a comparision assertion. Can be _undefined_ when `ok()` is used. |
| `expected` | One side of a comparision assertion. Can be _undefined_ when `ok()` is used. |
| `actual` | One side of a comparison assertion. Can be _undefined_ when `ok()` is used. |
| `expected` | One side of a comparison assertion. Can be _undefined_ when `ok()` is used. |
| `message` (string) | A string description provided by the assertion. |
| `source` (string) | The associated stacktrace, either from an exception or pointing to the source of the assertion. Depends on browser support for providing stacktraces, so can be undefined. |
| `module` (string) | The test module name of the assertion. If the assertion is not connected to any module, the property's value will be _undefined_. |
Expand Down
2 changes: 1 addition & 1 deletion docs/config/QUnit.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ QUnit.config.urlConfig.push({

---

Add a dropdown to the toolbar, using the `urlConfig` property. This assumes there's other code on the page that will check the `QUnit.config.jquery` property to react to the selection, loading the appropiate jQuery Core version.
Add a dropdown to the toolbar, using the `urlConfig` property. This assumes there's other code on the page that will check the `QUnit.config.jquery` property to react to the selection, loading the appropriate jQuery Core version.

```js
QUnit.config.urlConfig.push({
Expand Down
2 changes: 1 addition & 1 deletion reporter/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ export function escapeText( s ) {
assertLi,
assertList;

// Update remaing tests to aborted
// Update remaining tests to aborted
if ( abortButton && abortButton.disabled ) {
html = "Tests aborted after " + details.runtime + " milliseconds.";

Expand Down
2 changes: 1 addition & 1 deletion test/main/promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ QUnit.module( "Module with Promise-aware everything", {
}
} );

QUnit.test( "fullfilled Promise", function( assert ) {
QUnit.test( "fulfilled Promise", function( assert ) {
assert.expect( 5 );
return createMockPromise( assert );
} );
Expand Down
2 changes: 1 addition & 1 deletion test/reporter-urlparams-hidepassed.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ QUnit.module( "urlParams hidepassed module", function() {

QUnit.test( "passed", function( assert ) {

// we have to set it to 1 becuase there is currently one item being rendered, this one as it is in progress
// we have to set it to 1 because there is currently one item being rendered, this one as it is in progress
assert.strictEqual( document.getElementById( "qunit-tests" ).children.length, 1 );
} );
} );

0 comments on commit d7f1e27

Please sign in to comment.