diff options
author | Phil Hughes <me@iamphill.com> | 2018-01-26 10:56:40 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-01-30 09:12:57 +0000 |
commit | 3bf550bf24067972a7ddaf192a88f6e349be838c (patch) | |
tree | 3cf2bfbb1f99eb01a6c26bc5bc9c8245ff0aa0e2 /spec | |
parent | 39e9a17b4b0fd427438521cec108ea62113a02e0 (diff) | |
download | gitlab-ce-3bf550bf24067972a7ddaf192a88f6e349be838c.tar.gz |
fixed unhandled promise rejection
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/repo/components/new_dropdown/upload_spec.js | 6 |
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', + }, }, })); |