From e78887bde7788cb25819357675e4ed7d077067a7 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 22 Nov 2023 15:00:10 -0600 Subject: [PATCH] docs: Add missing varialbe 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}`); }); ```