diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-31 15:08:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-31 15:08:51 +0300 |
commit | 7ac9cddf764fe60a7f86ae9b0bfb5c30825d9a4e (patch) | |
tree | 75aabc7bde10a11819d48d6f2e64667c0e4bd183 /spec/frontend/issuable_suggestions | |
parent | fe98ad8383b9528553329a2a164173ba52c86168 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/issuable_suggestions')
-rw-r--r-- | spec/frontend/issuable_suggestions/components/app_spec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/issuable_suggestions/components/app_spec.js b/spec/frontend/issuable_suggestions/components/app_spec.js index 41860202750..8ec7c4a5890 100644 --- a/spec/frontend/issuable_suggestions/components/app_spec.js +++ b/spec/frontend/issuable_suggestions/components/app_spec.js @@ -27,7 +27,9 @@ describe('Issuable suggestions app component', () => { it('does not render with empty search', () => { wrapper.setProps({ search: '' }); - expect(wrapper.isVisible()).toBe(false); + return wrapper.vm.$nextTick().then(() => { + expect(wrapper.isVisible()).toBe(false); + }); }); describe('with data', () => { |