diff options
author | 2020-01-24 11:38:21 +0530 | |
---|---|---|
committer | 2020-01-24 11:44:04 +0530 | |
commit | 08e25e661fd17ff89ef6afa4fc98a7e1a8660170 (patch) | |
tree | 10e725bc9776b7e738280183afa3de06a9ff07cd /ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp | |
parent | 5a8a2bd7041489f13b5e8f6145963d0df83b5969 (diff) |
Added test case for header-component
Added test case for Header component
Issue-ID: PORTAL-808
Change-Id: I85df9f8b55f8f0fffe833189393b699771de6a7c
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp')
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/header/header.component.spec.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/header/header.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/header/header.component.spec.ts index 02cfd6b6..efe2de10 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/header/header.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/header/header.component.spec.ts @@ -4,6 +4,8 @@ * =================================================================== * Copyright © 2019 AT&T Intellectual Property. All rights reserved. * =================================================================== + * Modification Copyright © 2020 IBM. + * =================================================================== * * Unless otherwise specified, all software contained herein is licensed * under the Apache License, Version 2.0 (the "License"); @@ -74,4 +76,9 @@ describe('HeaderComponent', () => { document.getElementById("body").classList.add("push-right"); expect(component.isToggled()).toBe(true); }); + + it('should test ngOnInit function', () => { + component.ngOnInit(); + }); + }); |