From faf67fae03e3026a96fd46b2992e17a073ed5c8c Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 10 Feb 2015 08:02:38 -0800 Subject: [PATCH] Update qunit to 1.17.1. --- package.json | 2 +- test/backbone.html | 7 +------ test/test.js | 10 ++-------- test/underscore.html | 7 +------ 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index a5ad81146..f1950291e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "jquery": "~1.11.2", "platform": "~1.3.0", "qunit-extras": "~1.4.0", - "qunitjs": "~1.16.0", + "qunitjs": "~1.17.0", "requirejs": "~2.1.15" }, "volo": { diff --git a/test/backbone.html b/test/backbone.html index f9dc8ab96..61834c8d0 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -42,12 +42,7 @@ }()); QUnit.config.asyncRetries = 10; - - QUnit.begin(function() { - QUnit.config.hidepassed = true; - document.getElementById('qunit-tests').className += ' hidepass'; - document.getElementById('qunit-urlconfig-hidepassed').checked = true; - }); + QUnit.config.hidepassed = true; // load lodash if (!ui.isModularize) { diff --git a/test/test.js b/test/test.js index 5f230f23a..8a8323e80 100644 --- a/test/test.js +++ b/test/test.js @@ -15437,15 +15437,9 @@ /*--------------------------------------------------------------------------*/ QUnit.config.asyncRetries = 10; + QUnit.config.hidepassed = true; - if (document) { - QUnit.begin(function() { - QUnit.config.hidepassed = true; - document.getElementById('qunit-tests').className += ' hidepass'; - document.getElementById('qunit-urlconfig-hidepassed').checked = true; - }); - } else { - QUnit.config.hidepassed = true; + if (!document) { QUnit.config.noglobals = true; QUnit.load(); } diff --git a/test/underscore.html b/test/underscore.html index c483ec6f6..43bdea228 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -37,12 +37,7 @@