diff options
| author | Phil Hughes <me@iamphill.com> | 2018-11-06 09:40:03 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2018-11-06 10:17:59 +0000 |
| commit | 35faecb06b4b921d12a62344976918e88cd73fca (patch) | |
| tree | 4ad92bdbfb656171998d5000380f99f83549b2e0 /spec/javascripts/diffs/components/diff_content_spec.js | |
| parent | f7df9ddb52be8a03b8fbd8c9a870f3e3af577562 (diff) | |
| download | gitlab-ce-35faecb06b4b921d12a62344976918e88cd73fca.tar.gz | |
Restored width & height properties
Diffstat (limited to 'spec/javascripts/diffs/components/diff_content_spec.js')
| -rw-r--r-- | spec/javascripts/diffs/components/diff_content_spec.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/javascripts/diffs/components/diff_content_spec.js b/spec/javascripts/diffs/components/diff_content_spec.js index a31e04d426b..36bd042f3c4 100644 --- a/spec/javascripts/diffs/components/diff_content_spec.js +++ b/spec/javascripts/diffs/components/diff_content_spec.js @@ -62,7 +62,13 @@ describe('DiffContent', () => { vm.diffFile.oldSha = 'ABC'; vm.diffFile.viewPath = ''; vm.diffFile.discussions = [{ ...discussionsMockData }]; - vm.$store.state.diffs.commentForms.push({ fileHash: vm.diffFile.fileHash, x: 10, y: 20 }); + vm.$store.state.diffs.commentForms.push({ + fileHash: vm.diffFile.fileHash, + x: 10, + y: 20, + width: 100, + height: 200, + }); vm.$nextTick(done); }); @@ -96,6 +102,8 @@ describe('DiffContent', () => { positionType: 'image', x: 10, y: 20, + width: 100, + height: 200, }, }); }); |
