diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-17 00:01:51 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-17 00:01:51 +0300 |
commit | 283f968ef2826914d1ab7b1ddb59ad1cbe441ff0 (patch) | |
tree | 397373653791aca31dc3ef37c0d3611e012406fd /spec/javascripts/diff_comments_store_spec.js | |
parent | 6c695c52e833da54aed1494afd110588c183e186 (diff) |
update frontend specs to use ES module syntax
Diffstat (limited to 'spec/javascripts/diff_comments_store_spec.js')
-rw-r--r-- | spec/javascripts/diff_comments_store_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/diff_comments_store_spec.js b/spec/javascripts/diff_comments_store_spec.js index 66ece7e4f41..d6fc6b56b82 100644 --- a/spec/javascripts/diff_comments_store_spec.js +++ b/spec/javascripts/diff_comments_store_spec.js @@ -1,9 +1,9 @@ /* eslint-disable jasmine/no-global-setup, dot-notation, jasmine/no-expect-in-setup-teardown, max-len */ /* global CommentsStore */ -require('~/diff_notes/models/discussion'); -require('~/diff_notes/models/note'); -require('~/diff_notes/stores/comments'); +import '~/diff_notes/models/discussion'; +import '~/diff_notes/models/note'; +import '~/diff_notes/stores/comments'; function createDiscussion(noteId = 1, resolved = true) { CommentsStore.create({ |