Commit 3bf550bf authored by Phil Hughes's avatar Phil Hughes

fixed unhandled promise rejection

parent 39e9a17b
...@@ -17,9 +17,11 @@ describe('new dropdown upload', () => { ...@@ -17,9 +17,11 @@ describe('new dropdown upload', () => {
})); }));
spyOn(service, 'getBranchData').and.returnValue(Promise.resolve({ spyOn(service, 'getBranchData').and.returnValue(Promise.resolve({
data: {
commit: { commit: {
id: '123branch', id: '123branch',
}, },
},
})); }));
spyOn(service, 'getTreeData').and.returnValue(Promise.resolve({ spyOn(service, 'getTreeData').and.returnValue(Promise.resolve({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment