mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
This commit is contained in:
parent
b042f8ebd6
commit
3cb9ab723a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user