Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Engelen <michel.engelen@diva-e.com>2019-06-14 15:17:02 +0300
committerMichel Engelen <michel@nomorejs.net>2019-07-02 15:29:54 +0300
commitf41ab869ee898c2547e35b709a3a8024e3e8bf7c (patch)
treefa2ac3b6360915524b369ef355562763d48ed877 /spec/javascripts
parent6f7c27cee07de77a3b4de398ccba6b98cd2ebd5f (diff)
prettified noteable_discussion spec file
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/notes/components/noteable_discussion_spec.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/javascripts/notes/components/noteable_discussion_spec.js b/spec/javascripts/notes/components/noteable_discussion_spec.js
index f51a2594de5..c98366dd54f 100644
--- a/spec/javascripts/notes/components/noteable_discussion_spec.js
+++ b/spec/javascripts/notes/components/noteable_discussion_spec.js
@@ -91,9 +91,9 @@ describe('noteable_discussion component', () => {
});
it('does not render jump to thread button', () => {
- expect(
- wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists(),
- ).toBe(false);
+ expect(wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists()).toBe(
+ false,
+ );
});
});
@@ -114,9 +114,7 @@ describe('noteable_discussion component', () => {
const nextDiscussionId = discussion2.id;
- setFixtures(
- `<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`,
- );
+ setFixtures(`<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`);
wrapper.vm.jumpToNextDiscussion();