mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
bde431bb44
Ref gh-1528
17 lines
335 B
JavaScript
17 lines
335 B
JavaScript
define( [
|
|
"jquery",
|
|
"ui/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" );
|
|
});
|
|
|
|
} );
|