summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-26 10:56:40 +0000
committerPhil Hughes <me@iamphill.com>2018-01-30 09:12:57 +0000
commit3bf550bf24067972a7ddaf192a88f6e349be838c (patch)
tree3cf2bfbb1f99eb01a6c26bc5bc9c8245ff0aa0e2 /spec
parent39e9a17b4b0fd427438521cec108ea62113a02e0 (diff)
downloadgitlab-ce-3bf550bf24067972a7ddaf192a88f6e349be838c.tar.gz
fixed unhandled promise rejection
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/repo/components/new_dropdown/upload_spec.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/javascripts/repo/components/new_dropdown/upload_spec.js b/spec/javascripts/repo/components/new_dropdown/upload_spec.js
index 788c08e5279..667112ab21a 100644
--- a/spec/javascripts/repo/components/new_dropdown/upload_spec.js
+++ b/spec/javascripts/repo/components/new_dropdown/upload_spec.js
@@ -17,8 +17,10 @@ describe('new dropdown upload', () => {
}));
spyOn(service, 'getBranchData').and.returnValue(Promise.resolve({
- commit: {
- id: '123branch',
+ data: {
+ commit: {
+ id: '123branch',
+ },
},
}));