diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-16 16:01:51 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-16 16:01:51 -0500 |
commit | 283f968ef2826914d1ab7b1ddb59ad1cbe441ff0 (patch) | |
tree | 397373653791aca31dc3ef37c0d3611e012406fd /spec/javascripts/gl_dropdown_spec.js | |
parent | 6c695c52e833da54aed1494afd110588c183e186 (diff) | |
download | gitlab-ce-283f968ef2826914d1ab7b1ddb59ad1cbe441ff0.tar.gz |
update frontend specs to use ES module syntax
Diffstat (limited to 'spec/javascripts/gl_dropdown_spec.js')
-rw-r--r-- | spec/javascripts/gl_dropdown_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/gl_dropdown_spec.js b/spec/javascripts/gl_dropdown_spec.js index 8f90ed69e64..3292590b9ed 100644 --- a/spec/javascripts/gl_dropdown_spec.js +++ b/spec/javascripts/gl_dropdown_spec.js @@ -1,8 +1,8 @@ /* eslint-disable comma-dangle, no-param-reassign, no-unused-expressions, max-len */ -require('~/gl_dropdown'); -require('~/lib/utils/common_utils'); -require('~/lib/utils/url_utility'); +import '~/gl_dropdown'; +import '~/lib/utils/common_utils'; +import '~/lib/utils/url_utility'; (() => { const NON_SELECTABLE_CLASSES = '.divider, .separator, .dropdown-header, .dropdown-menu-empty-link'; |