summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-12 22:41:21 -0500
committerMike Greiling <mike@pixelcog.com>2017-11-01 13:00:30 -0500
commit5ef1ebe060b8ba57bd6a5c5b3321d0388e5aff24 (patch)
treebce2719eb1b7b2b5514c47a668c5163d5b6ebbab
parentb356997ab3d3b526da58d18da249aeeb15c75f0b (diff)
downloadgitlab-ce-5ef1ebe060b8ba57bd6a5c5b3321d0388e5aff24.tar.gz
fix broken module import
-rw-r--r--spec/javascripts/shortcuts_issuable_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/javascripts/shortcuts_issuable_spec.js b/spec/javascripts/shortcuts_issuable_spec.js
index f6320db8dc4..5d6a885d4cc 100644
--- a/spec/javascripts/shortcuts_issuable_spec.js
+++ b/spec/javascripts/shortcuts_issuable_spec.js
@@ -1,6 +1,8 @@
-import '~/copy_as_gfm';
+import initCopyAsGFM from '~/behaviors/copy_as_gfm';
import ShortcutsIssuable from '~/shortcuts_issuable';
+initCopyAsGFM();
+
describe('ShortcutsIssuable', () => {
const fixtureName = 'merge_requests/diff_comment.html.raw';
preloadFixtures(fixtureName);