feat: Added getFontSize method test
This commit is contained in:
parent
e54f881e55
commit
b3aab20ac2
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue