]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
authorScott González <scott.gonzalez@gmail.com>
Mon, 23 Apr 2012 14:47:43 +0000 (10:47 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 23 Apr 2012 14:47:43 +0000 (10:47 -0400)
tests/unit/testsuite.js

index 6720000f1149a68e3f5e1e1f29e7da847290d78c..7e505979cc2c9f3735e9e8540c87a456159836d9 100644 (file)
@@ -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;