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
Atualizado 3/2/2026
Estrelas
21033
Forks
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.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use enzyme-to-rtl