From: Scott González Date: Mon, 23 Apr 2012 14:47:43 +0000 (-0400) Subject: Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability. X-Git-Tag: 1.9.0m8~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3cb9ab723a23462d5b4e1959db267fd6d147ef40;p=jquery-ui.git Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability. --- diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js index 6720000f1..7e505979c 100644 --- a/tests/unit/testsuite.js +++ b/tests/unit/testsuite.js @@ -10,6 +10,7 @@ function includeScript( url ) { document.write( "" ); } +QUnit.config.urlConfig.push( "min" ); TestHelpers.loadResources = QUnit.urlParams.min ? function() { // TODO: proper include with theme images @@ -25,6 +26,7 @@ TestHelpers.loadResources = QUnit.urlParams.min ? }); }; +QUnit.config.urlConfig.push( "nojshint" ); function testJshint( widget ) { if ( QUnit.urlParams.nojshint ) { return;