Skip to content

Commit

Permalink
docs: Add missing varialbe to QUnit.moduleDone example
Browse files Browse the repository at this point in the history
Follows-up 9ab52be, in which the error was introduced.

Credit to @xdvarpunen.
Ref #1734.
  • Loading branch information
Krinkle committed Nov 22, 2023
1 parent a5faddf commit e78887b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/callbacks/QUnit.moduleDone.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ Register a callback that logs the module results

```js
QUnit.moduleDone(details => {
console.log(`Finished running: ${details.name} Failed/total: ${details.failed}/${total}`);
console.log(`Finished running: ${details.name} Failed/total: ${details.failed}/${details.total}`);
});
```

0 comments on commit e78887b

Please sign in to comment.