summaryrefslogtreecommitdiff
path: root/spec/javascripts/todos_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-05-16 16:01:51 -0500
committerMike Greiling <mike@pixelcog.com>2017-05-16 16:01:51 -0500
commit283f968ef2826914d1ab7b1ddb59ad1cbe441ff0 (patch)
tree397373653791aca31dc3ef37c0d3611e012406fd /spec/javascripts/todos_spec.js
parent6c695c52e833da54aed1494afd110588c183e186 (diff)
downloadgitlab-ce-283f968ef2826914d1ab7b1ddb59ad1cbe441ff0.tar.gz
update frontend specs to use ES module syntax
Diffstat (limited to 'spec/javascripts/todos_spec.js')
-rw-r--r--spec/javascripts/todos_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/todos_spec.js b/spec/javascripts/todos_spec.js
index 66e4fbd6304..cd74aba4a4e 100644
--- a/spec/javascripts/todos_spec.js
+++ b/spec/javascripts/todos_spec.js
@@ -1,5 +1,5 @@
-require('~/todos');
-require('~/lib/utils/common_utils');
+import '~/todos';
+import '~/lib/utils/common_utils';
describe('Todos', () => {
preloadFixtures('todos/todos.html.raw');