Skip to content

Commit 3cb9ab7

Browse files
committed
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
1 parent b042f8e commit 3cb9ab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/testsuite.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function includeScript( url ) {
1010
document.write( "<script src='../../../" + url + "'></script>" );
1111
}
1212

13+
QUnit.config.urlConfig.push( "min" );
1314
TestHelpers.loadResources = QUnit.urlParams.min ?
1415
function() {
1516
// TODO: proper include with theme images
@@ -25,6 +26,7 @@ TestHelpers.loadResources = QUnit.urlParams.min ?
2526
});
2627
};
2728

29+
QUnit.config.urlConfig.push( "nojshint" );
2830
function testJshint( widget ) {
2931
if ( QUnit.urlParams.nojshint ) {
3032
return;

0 commit comments

Comments
 (0)