aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectable/common.js')
-rw-r--r--tests/unit/selectable/common.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/unit/selectable/common.js b/tests/unit/selectable/common.js
new file mode 100644
index 000000000..9a14e6df5
--- /dev/null
+++ b/tests/unit/selectable/common.js
@@ -0,0 +1,29 @@
+define( [
+ "lib/common",
+ "ui/selectable"
+], function( common ) {
+
+common.testWidget( "selectable", {
+ defaults: {
+ appendTo: "body",
+ autoRefresh: true,
+ cancel: "input, textarea, button, select, option",
+ classes: {},
+ delay: 0,
+ disabled: false,
+ distance: 0,
+ filter: "*",
+ tolerance: "touch",
+
+ // callbacks
+ create: null,
+ selected: null,
+ selecting: null,
+ start: null,
+ stop: null,
+ unselected: null,
+ unselecting: null
+ }
+});
+
+} );