From 92f122d5b1c1eaa77ae0ab3af8bf68bf268e300d Mon Sep 17 00:00:00 2001 From: Amanpreet Singh Date: Wed, 6 Apr 2016 19:29:12 +0530 Subject: Tooltip: Shift to use no globals --- tests/unit/tooltip/deprecated.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/unit/tooltip/deprecated.js') diff --git a/tests/unit/tooltip/deprecated.js b/tests/unit/tooltip/deprecated.js index 7fc7d91a4..bce1a6c6a 100644 --- a/tests/unit/tooltip/deprecated.js +++ b/tests/unit/tooltip/deprecated.js @@ -1,12 +1,13 @@ define( [ + "qunit", "jquery", "ui/widgets/tooltip" -], function( $ ) { +], function( QUnit, $ ) { -module( "tooltip: (deprecated) options" ); +QUnit.module( "tooltip: (deprecated) options" ); -test( "tooltipClass", function( assert ) { - expect( 1 ); +QUnit.test( "tooltipClass", function( assert ) { + assert.expect( 1 ); var element = $( "#tooltipped1" ).tooltip( { tooltipClass: "custom" } ).tooltip( "open" ); -- cgit v1.2.3