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/repository/components/tree_content_spec.js | |
parent | fe98ad8383b9528553329a2a164173ba52c86168 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/repository/components/tree_content_spec.js')
-rw-r--r-- | spec/frontend/repository/components/tree_content_spec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/repository/components/tree_content_spec.js b/spec/frontend/repository/components/tree_content_spec.js index 148e307a5d4..da892ce51d8 100644 --- a/spec/frontend/repository/components/tree_content_spec.js +++ b/spec/frontend/repository/components/tree_content_spec.js @@ -30,7 +30,9 @@ describe('Repository table component', () => { vm.setData({ entries: { blobs: [{ name: 'README.md' }] } }); - expect(vm.find(FilePreview).exists()).toBe(true); + return vm.vm.$nextTick().then(() => { + expect(vm.find(FilePreview).exists()).toBe(true); + }); }); describe('normalizeData', () => { |