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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-01 09:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-01 09:09:01 +0300
commitb085478c4c2bed74fdc6eb2c33bfc62e791baf03 (patch)
tree71473cafdfc2f941933d326e6beb319bdbcdc79a /spec/frontend/sidebar/assignees_spec.js
parent62ddd3a00522d62ab23c7804e24dbe1c941bc0a7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/sidebar/assignees_spec.js')
-rw-r--r--spec/frontend/sidebar/assignees_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/sidebar/assignees_spec.js b/spec/frontend/sidebar/assignees_spec.js
index 4cc91c7ca6e..e29f405adbd 100644
--- a/spec/frontend/sidebar/assignees_spec.js
+++ b/spec/frontend/sidebar/assignees_spec.js
@@ -65,7 +65,9 @@ describe('Assignee component', () => {
jest.spyOn(wrapper.vm, '$emit');
wrapper.find('.assign-yourself .btn-link').trigger('click');
- expect(wrapper.emitted('assign-self')).toBeTruthy();
+ return wrapper.vm.$nextTick().then(() => {
+ expect(wrapper.emitted('assign-self')).toBeTruthy();
+ });
});
});