We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@tarojs/test-utils-react单元测试事件触发
ScrollView模拟不出的onScroll事件 还有Image的onLongtap事件
请问这两个事件该如何模拟,onLongtap尝试过用touchStart和touchEnd进行触发 ScrollView使用testUtils.fireEvent.scroll和touchStart,move,end两种方式进行滚动,但都触发不对应事件
文档是否可以完善一下
The text was updated successfully, but these errors were encountered:
使用testUtils.fireEvent.input来触发input组件上的onInput,但是组件里面onInput拿到的event并没有detail: { value: '**' },拿到的却是一个InputEvent { isTrusted: [Getter] },我查看fireEvent.input的类型,发现参数二上data需要一个string,detail是一个number,传入别的类型会报错,请问我该如何修改的,才能让onInput正确的拿到inputEventDetail类型的数据
Sorry, something went wrong.
heiazu
No branches or pull requests
这个特性解决了什么问题?
@tarojs/test-utils-react单元测试事件触发
ScrollView模拟不出的onScroll事件
还有Image的onLongtap事件
请问这两个事件该如何模拟,onLongtap尝试过用touchStart和touchEnd进行触发
ScrollView使用testUtils.fireEvent.scroll和touchStart,move,end两种方式进行滚动,但都触发不对应事件
这个 API 长什么样?
文档是否可以完善一下
The text was updated successfully, but these errors were encountered: