diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-12-06 19:41:24 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-12-06 19:41:24 +0300 |
commit | 2c7ba7a1d85f33a357e197c0f9994029539b8989 (patch) | |
tree | dc2a76863214948f815e1b499e318b41014aaf6f /spec/javascripts/search_autocomplete_spec.js | |
parent | b4fb31d9dd12cf979d4014f028aa9ef2de342249 (diff) |
Updates the dropdown to match the docs and remove old hack of stop event propagation
Diffstat (limited to 'spec/javascripts/search_autocomplete_spec.js')
-rw-r--r-- | spec/javascripts/search_autocomplete_spec.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/javascripts/search_autocomplete_spec.js b/spec/javascripts/search_autocomplete_spec.js index a2394857b82..fdfc59a6f12 100644 --- a/spec/javascripts/search_autocomplete_spec.js +++ b/spec/javascripts/search_autocomplete_spec.js @@ -191,8 +191,6 @@ import '~/lib/utils/common_utils'; // browsers will not trigger default behavior (form submit, in this // example) on JavaScript-created keypresses. expect(submitSpy).not.toHaveBeenTriggered(); - // Does a worse job at capturing the intent of the test, but works. - expect(enterKeyEvent.isDefaultPrevented()).toBe(true); }); }); }).call(window); |