aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/traversing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js
index eeda204a5..dd0554137 100644
--- a/test/unit/traversing.js
+++ b/test/unit/traversing.js
@@ -470,7 +470,7 @@ QUnit.test( "not(jQuery)", function( assert ) {
);
} );
-QUnit.test( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) {
+QUnit[ jQuery.find.compile ? "test" : "skip" ]( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) {
assert.expect( 3 );
var mixedContents = jQuery( "#nonnodes" ).contents(),