代码开发

React 18 Enzyme → RTL Migration

为 React 18 升级提供精确的 Enzyme 到 React Testing Library 迁移模式。当 Enzyme 测试需要重写时使用此技能——包括 shallow、mount、wrapper.find()、wrapper.simulate()、wrapper.prop()、wrapper.state...

作者:github 下载:0 GitHub Star:37630 评分:暂无 改写翻译代码图像

安装命令

npx skills add https://github.com/github/awesome-copilot --skill react18-enzyme-to-rtl