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>2019-12-31 15:08:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-31 15:08:51 +0300
commit7ac9cddf764fe60a7f86ae9b0bfb5c30825d9a4e (patch)
tree75aabc7bde10a11819d48d6f2e64667c0e4bd183 /spec/frontend/repository
parentfe98ad8383b9528553329a2a164173ba52c86168 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/repository')
-rw-r--r--spec/frontend/repository/components/tree_content_spec.js4
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', () => {