Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.

This commit is contained in:
Scott González 2012-04-23 10:47:43 -04:00
parent b042f8ebd6
commit 3cb9ab723a

View 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;