Skip to content

Commit

Permalink
docs: Add missing variable 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 Feb 10, 2024
1 parent 9d9618d commit 13f0926
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 13f0926

Please sign in to comment.