diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-15 12:31:58 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-15 12:31:58 +0300 |
commit | 29e1a63d3d3dac857e0a9189e1b306f072700801 (patch) | |
tree | cb7b2e57fc2fe9553e03bbff1adcfa2ea6a251e1 /spec/javascripts/merge_request_tabs_spec.js | |
parent | c96e2edc105a46c93bcbf6841c8ec52270d6a601 (diff) |
Export JS classes as modules
#38869
Diffstat (limited to 'spec/javascripts/merge_request_tabs_spec.js')
-rw-r--r-- | spec/javascripts/merge_request_tabs_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/merge_request_tabs_spec.js b/spec/javascripts/merge_request_tabs_spec.js index 5076435e7a8..31426ceb110 100644 --- a/spec/javascripts/merge_request_tabs_spec.js +++ b/spec/javascripts/merge_request_tabs_spec.js @@ -2,7 +2,7 @@ /* global Notes */ import * as urlUtils from '~/lib/utils/url_utility'; -import '~/merge_request_tabs'; +import MergeRequestTabs from '~/merge_request_tabs'; import '~/commit/pipelines/pipelines_bundle'; import '~/breakpoints'; import '~/lib/utils/common_utils'; @@ -32,7 +32,7 @@ import 'vendor/jquery.scrollTo'; ); beforeEach(function () { - this.class = new gl.MergeRequestTabs({ stubLocation: stubLocation }); + this.class = new MergeRequestTabs({ stubLocation: stubLocation }); setLocation(); this.spies = { |