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
Timeoutとなり、touchmoveのトリガで実行されるはずのアサートが実行されていない。
The text was updated successfully, but these errors were encountered:
テストコードに問題があります。
jQueryMobileがロードされている時、documentのtouch系イベントにjQueryMobileがハンドラをバインドしています。 テストケース内で
$elm.trigger('touchmove');
としていますが、この時JQMのバインドしたハンドラが動作します。JQMのバインドしたハンドラ内で、イベントオブジェクトのevent.touches[0]を参照していますが、トリガでイベント名だけで読んだ場合にtouchesプロパティが入っていないため、エラーが起きてテストが止まってしまいます。
event.touches[0]
テストケース内でtouchイベントをトリガする際に、イベント名ではなく、イベントオブジェクトを生成してトリガすれば回避できると思われます。
Sorry, something went wrong.
hifive#142 テストケース修正しました。
db2f194
コードリファクタ: 91a454a
hifive#142 タッチイベント、マウスイベントで、ケースのコピペをやめるよう修正しました。
85b3435
hifive#142 SVG要素のh5trackイベントのケースを消してしまっていたので直しました
d2565a6
fukudayasuo
No branches or pull requests
Timeoutとなり、touchmoveのトリガで実行されるはずのアサートが実行されていない。
The text was updated successfully, but these errors were encountered: