summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes_spec.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-12-15 10:21:49 +0000
committerPhil Hughes <me@iamphill.com>2017-12-15 16:33:36 +0000
commiteaf2f48dc7db706fa1dea050543667f8cdebd4c4 (patch)
tree0333f4371bd9158bba99bb68c2c4a6aa960daa5e /spec/javascripts/notes_spec.js
parentd2f313dcbccc1e3642fb0ccdf0849e0ef4ec8e21 (diff)
downloadgitlab-ce-eaf2f48dc7db706fa1dea050543667f8cdebd4c4.tar.gz
Export and use Notes ES module
Diffstat (limited to 'spec/javascripts/notes_spec.js')
-rw-r--r--spec/javascripts/notes_spec.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/javascripts/notes_spec.js b/spec/javascripts/notes_spec.js
index e09b8dc7fc5..167f074fb9b 100644
--- a/spec/javascripts/notes_spec.js
+++ b/spec/javascripts/notes_spec.js
@@ -1,12 +1,10 @@
/* eslint-disable space-before-function-paren, no-unused-expressions, no-var, object-shorthand, comma-dangle, max-len */
-/* global Notes */
-
import * as urlUtils from '~/lib/utils/url_utility';
import 'autosize';
import '~/gl_form';
import '~/lib/utils/text_utility';
import '~/render_gfm';
-import '~/notes';
+import Notes from '~/notes';
(function() {
window.gon || (window.gon = {});