mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
no implicit returns
This commit is contained in:
@@ -111,6 +111,7 @@ describe('AppLayoutComponent', () => {
|
||||
if (key === 'expandedSidenav') {
|
||||
return 'true';
|
||||
}
|
||||
return 'false';
|
||||
});
|
||||
|
||||
fixture.detectChanges();
|
||||
@@ -128,6 +129,7 @@ describe('AppLayoutComponent', () => {
|
||||
if (key === 'expandedSidenav') {
|
||||
return 'false';
|
||||
}
|
||||
return 'true';
|
||||
});
|
||||
|
||||
fixture.detectChanges();
|
||||
|
@@ -982,6 +982,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '3') {
|
||||
return of(null);
|
||||
}
|
||||
|
||||
return of(null);
|
||||
});
|
||||
|
||||
actions$.pipe(
|
||||
@@ -1047,6 +1049,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '3') {
|
||||
return throwError({});
|
||||
}
|
||||
|
||||
return of(null);
|
||||
});
|
||||
|
||||
const selection = [
|
||||
@@ -1082,6 +1086,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '4') {
|
||||
return of({});
|
||||
}
|
||||
|
||||
return of(null);
|
||||
});
|
||||
|
||||
const selection = [
|
||||
@@ -1139,6 +1145,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '2') {
|
||||
return of({});
|
||||
}
|
||||
|
||||
return of(null);
|
||||
});
|
||||
|
||||
const selection = [
|
||||
@@ -1164,6 +1172,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '2') {
|
||||
return throwError({});
|
||||
}
|
||||
|
||||
return of({});
|
||||
});
|
||||
|
||||
const selection = [
|
||||
@@ -1295,6 +1305,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '3') {
|
||||
return throwError(error);
|
||||
}
|
||||
|
||||
return of({});
|
||||
});
|
||||
|
||||
const path = {
|
||||
@@ -1395,6 +1407,8 @@ describe('ContentManagementService', () => {
|
||||
if (id === '2') {
|
||||
return of({});
|
||||
}
|
||||
|
||||
return of({});
|
||||
});
|
||||
|
||||
actions$.pipe(
|
||||
|
Reference in New Issue
Block a user