File: deprecated.js

package info (click to toggle)
jqueryui 1.12.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,800 kB
  • sloc: php: 584; xml: 104; makefile: 75
file content (17 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
define( [
	"qunit",
	"jquery",
	"ui/widgets/tooltip"
], function( QUnit, $ ) {

QUnit.module( "tooltip: (deprecated) options" );

QUnit.test( "tooltipClass", function( assert ) {
	assert.expect( 1 );
	var element = $( "#tooltipped1" ).tooltip( {
		tooltipClass: "custom"
	} ).tooltip( "open" );
	assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
} );

} );