no implicit returns

This commit is contained in:
pionnegru
2019-10-16 13:38:02 +03:00
parent 3ca9f4a437
commit d616d393b8
2 changed files with 16 additions and 0 deletions

View File

@@ -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();

View File

@@ -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(