mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
eeb962027e
Ref #13885
17 lines
343 B
JavaScript
17 lines
343 B
JavaScript
define( [
|
|
"jquery",
|
|
"ui/widgets/tooltip"
|
|
], function( $ ) {
|
|
|
|
module( "tooltip: (deprecated) options" );
|
|
|
|
test( "tooltipClass", function( assert ) {
|
|
expect( 1 );
|
|
var element = $( "#tooltipped1" ).tooltip({
|
|
tooltipClass: "custom"
|
|
}).tooltip( "open" );
|
|
assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
|
|
});
|
|
|
|
} );
|