diff options
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_common.js')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_common.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/unit/autocomplete/autocomplete_common.js b/tests/unit/autocomplete/autocomplete_common.js new file mode 100644 index 000000000..c090ce4df --- /dev/null +++ b/tests/unit/autocomplete/autocomplete_common.js @@ -0,0 +1,25 @@ +TestHelpers.commonWidgetTests( "autocomplete", { + defaults: { + appendTo: "body", + autoFocus: false, + delay: 300, + disabled: false, + minLength: 1, + position: { + my: "left top", + at: "left bottom", + collision: "none" + }, + source: null, + + // callbacks + change: null, + close: null, + create: null, + focus: null, + open: null, + response: null, + search: null, + select: null + } +}); |