From 059c65c3f438d7cc3d4e80776e74b438bf1c5fed Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Thu, 9 Jan 2025 22:32:22 +0530 Subject: [PATCH] modify a test case to add decimal font value --- .../tokens-studio-for-figma/src/plugin/pullStyles.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tokens-studio-for-figma/src/plugin/pullStyles.test.ts b/packages/tokens-studio-for-figma/src/plugin/pullStyles.test.ts index 16e8a7b7f..e8947e6dd 100644 --- a/packages/tokens-studio-for-figma/src/plugin/pullStyles.test.ts +++ b/packages/tokens-studio-for-figma/src/plugin/pullStyles.test.ts @@ -40,7 +40,7 @@ describe('pullStyles', () => { name: 'heading/h1/bold', id: '456', description: 'the big one', - fontSize: 24, + fontSize: 24.8, fontName: { family: 'Inter', style: 'Bold', @@ -164,7 +164,7 @@ describe('pullStyles', () => { ], fontSizes: [ { name: 'fontSize.0', type: 'fontSizes', value: '16' }, - { name: 'fontSize.1', type: 'fontSizes', value: '24' }, + { name: 'fontSize.1', type: 'fontSizes', value: '24.8' }, ], letterSpacing: [{ name: 'letterSpacing.0', type: 'letterSpacing', value: '0%' }], paragraphSpacing: [{ name: 'paragraphSpacing.0', type: 'paragraphSpacing', value: '0' },