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
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use enzyme-to-rtl