diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-07-23 11:24:07 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-07-23 11:24:07 +0000 |
commit | b2dbc93694cfd8c7d83c77327096651b5a40d77a (patch) | |
tree | 802d86555bdd146457714778d3af01e3fcbe3ef4 /spec/javascripts | |
parent | 58a0df7e68e46902e453a0252e6753517d9cf665 (diff) | |
download | gitlab-ce-b2dbc93694cfd8c7d83c77327096651b5a40d77a.tar.gz |
Reducing the memory footprint for the rendering
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/diffs/components/diff_line_gutter_content_spec.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js b/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js index cb85d12daf2..bdc94131fc2 100644 --- a/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js +++ b/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js @@ -50,7 +50,11 @@ describe('DiffLineGutterContent', () => { it('should return discussions for the given lineCode', () => { const { lineCode } = getDiffFileMock().highlightedDiffLines[1]; - const component = createComponent({ lineCode, showCommentButton: true }); + const component = createComponent({ + lineCode, + showCommentButton: true, + discussions: getDiscussionsMockData(), + }); setDiscussions(component); |