From d616d393b89f4cc78dbd5065ffe795eca15f298a Mon Sep 17 00:00:00 2001 From: pionnegru Date: Wed, 16 Oct 2019 13:38:02 +0300 Subject: [PATCH] no implicit returns --- .../layout/app-layout/app-layout.component.spec.ts | 2 ++ .../services/content-management.service.spec.ts | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/app/components/layout/app-layout/app-layout.component.spec.ts b/src/app/components/layout/app-layout/app-layout.component.spec.ts index e44dd487e..bef3918cd 100644 --- a/src/app/components/layout/app-layout/app-layout.component.spec.ts +++ b/src/app/components/layout/app-layout/app-layout.component.spec.ts @@ -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(); diff --git a/src/app/services/content-management.service.spec.ts b/src/app/services/content-management.service.spec.ts index 4572aba2b..cc30f14ed 100644 --- a/src/app/services/content-management.service.spec.ts +++ b/src/app/services/content-management.service.spec.ts @@ -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(