diff --git a/src/lib/directives/specs/ng2-fittext.directive.spec.ts b/src/lib/directives/specs/ng2-fittext.directive.spec.ts index 467e56c..11bceaf 100644 --- a/src/lib/directives/specs/ng2-fittext.directive.spec.ts +++ b/src/lib/directives/specs/ng2-fittext.directive.spec.ts @@ -87,4 +87,10 @@ describe('Class: Ng2FittextDirective', () => { ).toHaveBeenCalledWith('font-size', `${newFontSize}px`); }); }); + + describe('Method: getFontSize', () => { + it('Should return the current font size', () => { + expect(ng2FittextDirective.getFontSize()).toEqual(1000); + }); + }); });