home/categories/testing/elastic-kibana-agents-skills-enzyme-to-rtl-skill-md
testingtesting-security

enzyme-to-rtl

Migrate Enzyme tests to React Testing Library (RTL). Use when converting shallow/mount enzyme tests to RTL render, replacing enzyme selectors with RTL queries, updating snapshot tests, or when the user mentions enzyme migration, RTL migration, or react-testing-library.

elastic
maintainer
elastic
Обновлено 3/2/2026
Звёзды
21033
Форки
8549
quick start

Installation and usage

Migrate Enzyme tests to React Testing Library (RTL). Use when converting shallow/mount enzyme tests to RTL render, replacing enzyme selectors with RTL queries, updating snapshot tests, or when the user mentions enzyme migration, RTL migration, or react-testing-library.

Установка
$ install --globalskills.sh
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use enzyme-to-rtl