diff --git a/js/tests/index.html b/js/tests/index.html index b32f0adc22..05e9009fcb 100644 --- a/js/tests/index.html +++ b/js/tests/index.html @@ -43,12 +43,12 @@ QUnit.testStart(function (testDetails) { $(window).scrollTop(0) - QUnit.log = function (details) { + QUnit.log(function (details) { if (!details.result) { details.name = testDetails.name log.push(details) } - } + }) }) // Cleanup