mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Tests: fix another traverse test
Tricky test - if isolated, was executed fine, but falling
if runned with other tests
Ref b97c8d30c5
This commit is contained in:
parent
b97c8d30c5
commit
f1300f1887
@ -463,7 +463,11 @@ QUnit.test( "not(Array)", function( assert ) {
|
||||
QUnit.test( "not(jQuery)", function( assert ) {
|
||||
assert.expect( 1 );
|
||||
|
||||
assert.deepEqual( jQuery( "p" ).not( jQuery( "#ap, #sndp, .result" ) ).get(), q( "firstp", "en", "sap", "first" ), "not(jQuery)" );
|
||||
assert.deepEqual(
|
||||
jQuery( "#qunit-fixture p" ).not( jQuery( "#ap, #sndp, .result" ) ).get(),
|
||||
q( "firstp", "en", "sap", "first" ),
|
||||
"not(jQuery)"
|
||||
);
|
||||
} );
|
||||
|
||||
QUnit.test( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) {
|
||||
|
Loading…
Reference in New Issue
Block a user