mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs tests: Added test for widget() method.
This commit is contained in:
parent
1540f4afc8
commit
072919467d
@ -264,4 +264,12 @@ asyncTest( "load", function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test( "widget", function() {
|
||||||
|
expect( 2 );
|
||||||
|
var element = $( "#tabs1" ).tabs(),
|
||||||
|
widgetElement = element.tabs( "widget" );
|
||||||
|
equal( widgetElement.length, 1, "one element" );
|
||||||
|
strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
|
||||||
|
});
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user