update test

This commit is contained in:
Jordan Pittman 2024-08-22 17:05:55 -04:00 • committed by Philipp Spiess
parent 882c39dd0c
commit 7e9db364c9

View file

@ -37,9 +37,7 @@ test('Config values can be merged into the theme', ({ expect }) => {
expect(theme.resolve('sm', ['--font-size'])).toEqual('0.875rem')
expect(theme.resolve('base', ['--font-size'])).toEqual('1rem')
expect(theme.resolveWith('base', ['--font-size'], ['--line-height'])).toEqual([
'var(--font-size-base, 1rem)',
{
'--line-height': 'var(--font-size-base--line-height, 1.5)',
},
'1rem',
{ '--line-height': '1.5' },
])
})