fixed unhandled promise rejection

This commit is contained in:
Phil Hughes 2018-01-26 10:56:40 +00:00
parent 39e9a17b4b
commit 3bf550bf24
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 4 additions and 2 deletions

View File

@ -17,8 +17,10 @@ describe('new dropdown upload', () => {
}));
spyOn(service, 'getBranchData').and.returnValue(Promise.resolve({
commit: {
id: '123branch',
data: {
commit: {
id: '123branch',
},
},
}));