aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 10:47:43 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 10:47:43 -0400
commit3cb9ab723a23462d5b4e1959db267fd6d147ef40 (patch)
treef47f008ea5066170b07df125274fcf7b89f366eb /tests
parentb042f8ebd68e21155edb090917051353fe7a0162 (diff)
downloadjquery-ui-3cb9ab723a23462d5b4e1959db267fd6d147ef40.tar.gz
jquery-ui-3cb9ab723a23462d5b4e1959db267fd6d147ef40.zip
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/testsuite.js2
1 files changed, 2 insertions, 0 deletions
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( "<script src='../../../" + url + "'></script>" );
}
+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;