mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-20 08:10:49 +00:00
Fix unit tests after updating fonts package
This commit is contained in:
parent
9b79cb9873
commit
7362f2625b
@ -10,8 +10,8 @@ describe('FontBBoxCalculator', () => {
|
||||
it('should calculate font width and height', () => {
|
||||
const box = calculator.calculate('My text', 'font-family:Arial; font-size: 12px; font-weight:bold');
|
||||
|
||||
expect(box.height).toEqual(14);
|
||||
expect(box.width).toEqual(41.34375);
|
||||
expect(box.height).toEqual(15);
|
||||
expect(box.width).toEqual(41);
|
||||
});
|
||||
|
||||
xit('should calculate font width and height for different font', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user