feat: Added getFontSize method test
This commit is contained in:
parent
8305b2128c
commit
b32b0308f1
1 changed files with 6 additions and 0 deletions
|
|
@ -87,4 +87,10 @@ describe('Class: Ng2FittextDirective', () => {
|
||||||
).toHaveBeenCalledWith('font-size', `${newFontSize}px`);
|
).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