@@ -332,18 +332,6 @@ if ( !window.__karma__ ) {
332332QUnit . isSwarm = ( QUnit . urlParams . swarmURL + "" ) . indexOf ( "http" ) === 0 ;
333333QUnit . basicTests = ( QUnit . urlParams . module + "" ) === "basic" ;
334334
335- // Says whether jQuery positional selector extensions are supported.
336- // A full selector engine is required to support them as they need to be evaluated
337- // left-to-right. Remove that property when support for positional selectors is dropped.
338- // if your custom jQuery versions relies more on native qSA.
339- QUnit . jQuerySelectorsPos = true ;
340-
341- // Says whether jQuery selector extensions are supported. Change that to `false`
342- // if your custom jQuery versions relies more on native qSA.
343- // This doesn't include support for positional selectors (see above).
344- // TODO do we want to keep this or just assume support for jQuery extensions?
345- QUnit . jQuerySelectors = true ;
346-
347335// Async test for module script type support
348336function moduleTypeSupported ( ) {
349337 var script = document . createElement ( "script" ) ;
@@ -481,6 +469,17 @@ this.loadTests = function() {
481469 */
482470 jQuery . noConflict ( ) ;
483471
472+ // Says whether jQuery positional selector extensions are supported.
473+ // A full selector engine is required to support them as they need to
474+ // be evaluated left-to-right. Remove that property when support for
475+ // positional selectors is dropped.
476+ QUnit . jQuerySelectorsPos = includesModule ( "selector-full" ) ;
477+
478+ // Says whether jQuery selector extensions are supported. Change that
479+ // to `false` if your custom jQuery versions relies more on native qSA.
480+ // This doesn't include support for positional selectors (see above).
481+ QUnit . jQuerySelectors = includesModule ( "selector-full" ) ;
482+
484483 // Load the TestSwarm listener if swarmURL is in the address.
485484 if ( QUnit . isSwarm ) {
486485 require ( [ "https://swarm.jquery.org/js/inject.js?" + ( new Date ( ) ) . getTime ( ) ] ,
0 commit comments