Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
If anyone working with hammer.js for touch events of mobile apps. Please suggest how to write unit test cases using jasmine.js (or any other method) for touch events of hammer.js

:-)

We need to write unit test cases only for the touch events of hammer.js used in our application .

e.g -> There is a function for pinch-zoom() which take some touch event by user written in abc.js using hammer.js events and we need to write UTC for that function , so while executing that UTC we need to provide the touch event so that we can test pinch-zoom().

How can we provide this touch event as argument to UTC ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900