灵感菇

AI 技能的自然生态,你的一句话,蔓延出无限连接。

返回搜索

Testing / Automation

react-native-testing

react-native-testing

安装量 1,580GitHub Stars 0更新时间 2026年5月11日

描述

使用 React Native Testing Library (RNTL) v13 和 v14 (`@testing-library/react-native`) 编写测试。在编写、审查或修复 React Native 组件测试时使用。涵盖:render、screen、查询 (getBy/getAllBy/queryBy/findBy)、Jest 匹配器、userEvent、fireEvent、waitFor 以及异步模式。支持 v13(React 18,同步渲染)和 v14(React 19+,异步渲染)。触发条件:React Native 组件的测试文件、RNTL 导入,或提及 "testing library"、"write tests"、"component tests" 或 "RNTL"。

reactuitestingjestauthapinativewritetestsusinglibraryrntl