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:
authorNatalia Tepluhina <ntepluhina@gitlab.com>2019-07-18 16:16:18 +0300
committerPhil Hughes <me@iamphill.com>2019-07-18 16:16:18 +0300
commit6911c3435a61a34047a69d9eb92fc03ad2f4843c (patch)
tree577823bce15c31bda004911c52a94a78dff8a5f3 /spec/frontend/notes
parent0854f18352e72c2bcc0beca601d1ea48b490d1be (diff)
Resolve "Tooltips on note timestamps not showing for issues"
Diffstat (limited to 'spec/frontend/notes')
-rw-r--r--spec/frontend/notes/components/discussion_jump_to_next_button_spec.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/frontend/notes/components/discussion_jump_to_next_button_spec.js b/spec/frontend/notes/components/discussion_jump_to_next_button_spec.js
index 989b0458481..fd439ba46bd 100644
--- a/spec/frontend/notes/components/discussion_jump_to_next_button_spec.js
+++ b/spec/frontend/notes/components/discussion_jump_to_next_button_spec.js
@@ -23,8 +23,7 @@ describe('JumpToNextDiscussionButton', () => {
button.trigger('click');
- expect(wrapper.emitted()).toEqual({
- onClick: [[]],
- });
+ expect(wrapper.emitted().onClick).toBeTruthy();
+ expect(wrapper.emitted().onClick.length).toBe(1);
});
});