From 86fd11d5a73c1500d0efef07653f69c0e58e2db3 Mon Sep 17 00:00:00 2001 From: Amanpreet Singh Date: Sun, 3 Apr 2016 21:40:09 +0530 Subject: Dialog: Shift to use no globals --- tests/unit/dialog/deprecated.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/unit/dialog/deprecated.js') diff --git a/tests/unit/dialog/deprecated.js b/tests/unit/dialog/deprecated.js index 1a6794338..960bf0dc4 100644 --- a/tests/unit/dialog/deprecated.js +++ b/tests/unit/dialog/deprecated.js @@ -1,12 +1,13 @@ define( [ + "qunit", "jquery", "ui/widgets/dialog" -], function( $ ) { +], function( QUnit, $ ) { -module( "dialog (deprecated): options" ); +QUnit.module( "dialog (deprecated): options" ); -test( "dialogClass", function( assert ) { - expect( 5 ); +QUnit.test( "dialogClass", function( assert ) { + assert.expect( 5 ); var element = $( "
" ).dialog(), widget = element.dialog( "widget" ); -- cgit v1.2.3