[ACA-3670] Inconsistent empty role value between library views (#1528)

* [ACA-3613] Inconsistent role value between library views

* * upgrade alpha

* fix ut
This commit is contained in:
dhrn
2020-07-15 14:21:09 +05:30
committed by GitHub
parent ddc6f36ab4
commit f35095a75b
5 changed files with 22 additions and 18 deletions

View File

@@ -1015,7 +1015,7 @@ describe('NodeActionsService', () => {
});
}));
it('should take no extra delete action, if its children were partially moved', async(() => {
it('should take no extra delete action, if its children were partially moved', (done) => {
const movedChildrenNodes = [fileToMove, folderToMove];
spyOn(service, 'moveFolderAction').and.returnValue(of(movedChildrenNodes));
spyOn(service, 'processResponse').and.returnValue({
@@ -1040,8 +1040,9 @@ describe('NodeActionsService', () => {
expect(spyOnSuccess).toHaveBeenCalled();
expect(spyOnError).not.toHaveBeenCalled();
done();
});
}));
});
it('should take extra delete action, if children successfully moved and folder is still on location', async(() => {
const movedChildrenNodes = [fileToMove, folderToMove];