diff options
-rw-r--r-- | src/app/about-us/aboutus.component.spec.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app/about-us/aboutus.component.spec.ts b/src/app/about-us/aboutus.component.spec.ts index fb523b6..4df0316 100644 --- a/src/app/about-us/aboutus.component.spec.ts +++ b/src/app/about-us/aboutus.component.spec.ts @@ -95,4 +95,16 @@ describe('ContacUsComponent', () => { }); component.downloadLogFile(); }); + + it('should test tlPlus function', inject([UtilityService], (utilService: UtilityService) => { + let spy1 = spyOn(UtilityService.prototype, 'getTracelvl'); + component.tlPlus(); + expect(spy1).toHaveBeenCalled(); + })); + + it('should test tlMinus function', inject([UtilityService], (utilService: UtilityService) => { + let spy1 = spyOn(UtilityService.prototype, 'getTracelvl'); + component.tlMinus(); + expect(spy1).toHaveBeenCalled(); + })); }); |