From 13f0926119781c55eb4c4512b6aa58ecd7f7b7dd Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 22 Nov 2023 15:00:10 -0600 Subject: [PATCH] docs: Add missing variable to `QUnit.moduleDone` example Follows-up 9ab52becfdd, in which the error was introduced. Credit to @xdvarpunen. Ref https://github.com/qunitjs/qunit/pull/1734. --- docs/callbacks/QUnit.moduleDone.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/callbacks/QUnit.moduleDone.md b/docs/callbacks/QUnit.moduleDone.md index 0f3e38409..2dfa2440f 100644 --- a/docs/callbacks/QUnit.moduleDone.md +++ b/docs/callbacks/QUnit.moduleDone.md @@ -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}`); }); ```