aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/about-us/aboutus.component.spec.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/app/about-us/aboutus.component.spec.ts b/src/app/about-us/aboutus.component.spec.ts
index 4df0316..29f9784 100644
--- a/src/app/about-us/aboutus.component.spec.ts
+++ b/src/app/about-us/aboutus.component.spec.ts
@@ -107,4 +107,18 @@ describe('ContacUsComponent', () => {
component.tlMinus();
expect(spy1).toHaveBeenCalled();
}));
+
+ it('should test tlPlus function to call setTracelvl ', inject([UtilityService], (utilService: UtilityService) => {
+ let spy1 = spyOn(UtilityService.prototype, 'setTracelvl');
+ component.tlPlus();
+ expect(spy1).toHaveBeenCalled();
+ }));
+
+ it('should test tlMinus function to call setTracelvl', inject([UtilityService], (utilService: UtilityService) => {
+ let spy1 = spyOn(UtilityService.prototype, 'setTracelvl');
+ let trv = 4;
+ localStorage["Tracelvl"] = trv;
+ component.tlMinus();
+ expect(spy1).toHaveBeenCalled();
+ }));
});