react-native-testing 是做什么的?
使用 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”。