diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-26 23:14:18 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-10-26 23:14:46 +0300 |
commit | a665a35438fe1ddf96228918fd99f790de9b6517 (patch) | |
tree | 48b2f84e2d8da09f78ae8e2a9703aef9d5084c10 /spec | |
parent | cf542f9ed0ff54e9072eca250244662808b80eab (diff) | |
download | gitlab-ce-a665a35438fe1ddf96228918fd99f790de9b6517.tar.gz |
Remove issuableContext from global namespace
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/issuable_context_spec.js | 3 | ||||
-rw-r--r-- | spec/javascripts/labels_issue_sidebar_spec.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/javascripts/issuable_context_spec.js b/spec/javascripts/issuable_context_spec.js index bcb2b7b24a0..f266209027a 100644 --- a/spec/javascripts/issuable_context_spec.js +++ b/spec/javascripts/issuable_context_spec.js @@ -1,6 +1,5 @@ -/* global IssuableContext */ -import '~/issuable_context'; import $ from 'jquery'; +import IssuableContext from '~/issuable_context'; describe('IssuableContext', () => { describe('toggleHiddenParticipants', () => { diff --git a/spec/javascripts/labels_issue_sidebar_spec.js b/spec/javascripts/labels_issue_sidebar_spec.js index e47adc49224..775a81d3d78 100644 --- a/spec/javascripts/labels_issue_sidebar_spec.js +++ b/spec/javascripts/labels_issue_sidebar_spec.js @@ -1,5 +1,5 @@ /* eslint-disable no-new */ -/* global IssuableContext */ +import IssuableContext from '~/issuable_context'; /* global LabelsSelect */ import '~/gl_dropdown'; |