summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes/components/noteable_discussion_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-10-17 02:13:26 -0500
committerMike Greiling <mike@pixelcog.com>2018-10-17 11:18:17 -0500
commitf666026d71ebefd70219d5078b1f0c83fa01f84d (patch)
treece43feb99c12c21dd266d25de24b1768bac1d459 /spec/javascripts/notes/components/noteable_discussion_spec.js
parent5a6fffcffca3dc8e4f52c90d3d18eaefd9e48aef (diff)
downloadgitlab-ce-f666026d71ebefd70219d5078b1f0c83fa01f84d.tar.gz
Prettify all spec files
Diffstat (limited to 'spec/javascripts/notes/components/noteable_discussion_spec.js')
-rw-r--r--spec/javascripts/notes/components/noteable_discussion_spec.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/javascripts/notes/components/noteable_discussion_spec.js b/spec/javascripts/notes/components/noteable_discussion_spec.js
index 7c8ee69a984..b447e79b0df 100644
--- a/spec/javascripts/notes/components/noteable_discussion_spec.js
+++ b/spec/javascripts/notes/components/noteable_discussion_spec.js
@@ -138,9 +138,7 @@ describe('noteable_discussion component', () => {
it('should return first note object for placeholder note', () => {
const data = {
isPlaceholderNote: true,
- notes: [
- { body: 'hello world!' },
- ],
+ notes: [{ body: 'hello world!' }],
};
const note = vm.componentData(data);
@@ -150,9 +148,7 @@ describe('noteable_discussion component', () => {
it('should return given note for nonplaceholder notes', () => {
const data = {
- notes: [
- { id: 12 },
- ],
+ notes: [{ id: 12 }],
};
const note = vm.componentData(data);