diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-04-14 06:49:11 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-04-23 08:54:20 +0300 |
commit | 704e86613459fccfbab882de69f73c54372be611 (patch) | |
tree | 8117687740f6c7dcb0cf6da0bfa4d0fc6ae69825 /spec/javascripts/search_autocomplete_spec.js | |
parent | 1f1af49a41be0072b7a5d37d47b470bea4daf222 (diff) |
fix more instances of "import *" with spyOnDependency
Diffstat (limited to 'spec/javascripts/search_autocomplete_spec.js')
-rw-r--r-- | spec/javascripts/search_autocomplete_spec.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/javascripts/search_autocomplete_spec.js b/spec/javascripts/search_autocomplete_spec.js index 1a27955983d..4f515f98a7e 100644 --- a/spec/javascripts/search_autocomplete_spec.js +++ b/spec/javascripts/search_autocomplete_spec.js @@ -4,7 +4,6 @@ import $ from 'jquery'; import '~/gl_dropdown'; import SearchAutocomplete from '~/search_autocomplete'; import '~/lib/utils/common_utils'; -import * as urlUtils from '~/lib/utils/url_utility'; describe('Search autocomplete dropdown', () => { var assertLinks, @@ -129,9 +128,6 @@ describe('Search autocomplete dropdown', () => { beforeEach(function() { loadFixtures('static/search_autocomplete.html.raw'); - // Prevent turbolinks from triggering within gl_dropdown - spyOn(urlUtils, 'visitUrl').and.returnValue(true); - window.gon = {}; window.gon.current_user_id = userId; window.gon.current_username = userName; |