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') {
|
if (key === 'expandedSidenav') {
|
||||||
return 'true';
|
return 'true';
|
||||||
}
|
}
|
||||||
|
return 'false';
|
||||||
});
|
});
|
||||||
|
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
@@ -128,6 +129,7 @@ describe('AppLayoutComponent', () => {
|
|||||||
if (key === 'expandedSidenav') {
|
if (key === 'expandedSidenav') {
|
||||||
return 'false';
|
return 'false';
|
||||||
}
|
}
|
||||||
|
return 'true';
|
||||||
});
|
});
|
||||||
|
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
@@ -982,6 +982,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '3') {
|
if (id === '3') {
|
||||||
return of(null);
|
return of(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
actions$.pipe(
|
actions$.pipe(
|
||||||
@@ -1047,6 +1049,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '3') {
|
if (id === '3') {
|
||||||
return throwError({});
|
return throwError({});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
const selection = [
|
const selection = [
|
||||||
@@ -1082,6 +1086,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '4') {
|
if (id === '4') {
|
||||||
return of({});
|
return of({});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
const selection = [
|
const selection = [
|
||||||
@@ -1139,6 +1145,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '2') {
|
if (id === '2') {
|
||||||
return of({});
|
return of({});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
const selection = [
|
const selection = [
|
||||||
@@ -1164,6 +1172,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '2') {
|
if (id === '2') {
|
||||||
return throwError({});
|
return throwError({});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of({});
|
||||||
});
|
});
|
||||||
|
|
||||||
const selection = [
|
const selection = [
|
||||||
@@ -1295,6 +1305,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '3') {
|
if (id === '3') {
|
||||||
return throwError(error);
|
return throwError(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of({});
|
||||||
});
|
});
|
||||||
|
|
||||||
const path = {
|
const path = {
|
||||||
@@ -1395,6 +1407,8 @@ describe('ContentManagementService', () => {
|
|||||||
if (id === '2') {
|
if (id === '2') {
|
||||||
return of({});
|
return of({});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return of({});
|
||||||
});
|
});
|
||||||
|
|
||||||
actions$.pipe(
|
actions$.pipe(
|
||||||
|
Reference in New Issue
Block a user