mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
feat(module): define neutral utilities (#3629)
Co-authored-by: Sébastien Chopin <atinux@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ describe('Slider', () => {
|
||||
['with ariaLabel', { attrs: { 'aria-label': 'Aria label' } }],
|
||||
['with as', { props: { as: 'section' } }],
|
||||
['with class', { props: { class: 'w-48' } }],
|
||||
['with ui', { props: { ui: { track: 'bg-(--ui-bg-elevated)' } } }]
|
||||
['with ui', { props: { ui: { track: 'bg-elevated' } } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: SliderProps }) => {
|
||||
const html = await ComponentRender(nameOrHtml, options, Slider)
|
||||
expect(html).toMatchSnapshot()
|
||||
|
||||
Reference in New Issue
Block a user