diff options
Diffstat (limited to 'src/app/shared/directives')
-rw-r--r-- | src/app/shared/directives/collapse.component.spec.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/shared/directives/collapse.component.spec.ts b/src/app/shared/directives/collapse.component.spec.ts index 7bb7e26..79b53be 100644 --- a/src/app/shared/directives/collapse.component.spec.ts +++ b/src/app/shared/directives/collapse.component.spec.ts @@ -2,6 +2,8 @@ ============LICENSE_START========================================== =================================================================== Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + +Copyright (C) 2018 IBM Intellectual Property. All rights reserved. =================================================================== Unless otherwise specified, all software contained herein is licensed @@ -48,6 +50,10 @@ describe('CollapseComponent', () => { directive.toggle(); }); - + it('should return proper expand value collapse method', () => { + directive.isExpanded = true; + let expandValue = directive.collapse; + expect(expandValue).toBe(true); + }); }); -});
\ No newline at end of file +}); |