/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
templates/browser-test.tsx
20 строк
410 B
Kael
chore: replace percy with vizzly (#22382)
03 дек 2025, 16:22
Не верифицирован
03 дек 2025, 16:22
f39100b
Код
Авторство
О чём код?
import { NAME } from '..' import { render, showcase, userEvent } from '@test' const props = {} const stories = { Default: <NAME />, } // Tests describe('NAME', () => { it('does something', async () => { render(<NAME />) await userEvent.click(screen.getByTestId('')) await expect.element(screen.getByTestId('')).toHaveTextContent('') }) showcase({ stories, props, component: NAME }) })