React 18 Enzyme → RTL Migration
为 React 18 升级提供精确的 Enzyme 到 React Testing Library 迁移模式。当 Enzyme 测试需要重写时使用此技能——包括 shallow、mount、wrapper.find()、wrapper.simulate()、wrapper.prop()、wrapper.state...
安装命令
npx skills add https://github.com/github/awesome-copilot --skill react18-enzyme-to-rtl