diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-10 12:10:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-13 13:38:09 +0300 |
commit | 299da4ca075160ea5778b10f2a93b87f65517a76 (patch) | |
tree | 18f2de9e0647f422480e2b31ce55b25bbbb314c2 /spec/javascripts/shortcuts_spec.js | |
parent | 5843a43c16e007193f5e26522d1e7368a0bdb2d7 (diff) |
Remove shortcut JS classes from global namespace
Diffstat (limited to 'spec/javascripts/shortcuts_spec.js')
-rw-r--r-- | spec/javascripts/shortcuts_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/shortcuts_spec.js b/spec/javascripts/shortcuts_spec.js index 53e4c68beb3..87f6c137f63 100644 --- a/spec/javascripts/shortcuts_spec.js +++ b/spec/javascripts/shortcuts_spec.js @@ -1,4 +1,5 @@ -/* global Shortcuts */ +import Shortcuts from '~/shortcuts'; + describe('Shortcuts', () => { const fixtureName = 'merge_requests/diff_comment.html.raw'; const createEvent = (type, target) => $.Event(type, { |