From 3934156541030b660a0c8d027786630e1318c1ff Mon Sep 17 00:00:00 2001 From: Bill Criswell Date: Fri, 3 Jun 2022 11:12:08 -0400 Subject: [PATCH] clearer description for test --- test/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.test.js b/test/utils.test.js index 4ae86ae..c6245e4 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -175,7 +175,7 @@ describe('getThemeAsCustomProps', () => { expect(defaultConfigValueTransformer(['fontFamily', 'sans'], ['font a', 'font b'])).toEqual('var(--font-family-sans, font a,font b)') }) - test('should throw a warning when using the more complex allowed value for font size', () => { + test('should just use the font-size when using a more complex value for fontSize', () => { expect(defaultConfigValueTransformer(['fontSize', 'complex'], ['24px', { lineHeight: '1.2' }])).toEqual('var(--font-size-complex, 24px)') expect(defaultConfigValueTransformer(['fontSize', 'complex'], ['22px', '1.2'])).toEqual('var(--font-size-complex, 22px)') })