aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable/resizable_test_helpers.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-07 10:30:07 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:26:58 -0400
commitdc4b015a8b9acdb5bff2d5dd89737b3d8b64097f (patch)
treef2dc9ecccc32b33622aef1e597992e5a668efe56 /tests/unit/resizable/resizable_test_helpers.js
parent42566bdd037ac57cf7d6d7a5d059db2ba42518d9 (diff)
downloadjquery-ui-dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f.tar.gz
jquery-ui-dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f.zip
Tests: Widget test helpers extend the main helper
Ref #10119 Ref gh-1528
Diffstat (limited to 'tests/unit/resizable/resizable_test_helpers.js')
-rw-r--r--tests/unit/resizable/resizable_test_helpers.js9
1 files changed, 6 insertions, 3 deletions
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
});
}
-};
+} );
} );