首页 > 解决方案 > 排毒:与兄弟匹配器

问题描述

有没有办法在 detox 中匹配兄弟元素(不使用 getAttributes())?据我了解,它只能使用 withAncestor() 和 withDescendant() 进行祖先和后代。

标签: react-nativejestjsdetox

解决方案


推荐阅读