From dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 7 Apr 2015 10:30:07 -0400 Subject: Tests: Widget test helpers extend the main helper Ref #10119 Ref gh-1528 --- tests/unit/resizable/resizable_test_helpers.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/unit/resizable/resizable_test_helpers.js') diff --git a/tests/unit/resizable/resizable_test_helpers.js b/tests/unit/resizable/resizable_test_helpers.js index 1c2ec831b..494c1a073 100644 --- a/tests/unit/resizable/resizable_test_helpers.js +++ b/tests/unit/resizable/resizable_test_helpers.js @@ -1,6 +1,9 @@ -define( function() { +define( [ + "jquery", + "lib/helper" +], function( $, helper ) { -return { +return $.extend( helper, { drag: function( el, dx, dy ) { // this mouseover is to work around a limitation in resizable // TODO: fix resizable so handle doesn't require mouseover in order to be used @@ -10,6 +13,6 @@ return { dy: dy }); } -}; +} ); } ); -- cgit v1.2.3