We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1540f4a commit 0729194Copy full SHA for 0729194
tests/unit/tabs/tabs_methods.js
@@ -264,4 +264,12 @@ asyncTest( "load", function() {
264
}
265
});
266
267
+test( "widget", function() {
268
+ expect( 2 );
269
+ var element = $( "#tabs1" ).tabs(),
270
+ widgetElement = element.tabs( "widget" );
271
+ equal( widgetElement.length, 1, "one element" );
272
+ strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
273
+});
274
+
275
}( jQuery ) );
0 commit comments