update test
This commit is contained in:
parent
882c39dd0c
commit
7e9db364c9
1 changed files with 2 additions and 4 deletions
|
|
@ -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' },
|
||||
])
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue