-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
The problem is that 'ontouchevent' in window return true in PhantomJS and there's no way to disable touch events in PhantomJS on runtime. For this reason, the tests with mouseup are failing.
And because this, the tests for libraries are also failing because when ontouchevent is present we don't actually use libraries to delegate the events but addEventListener.
We could use !global.window.mochaPhantomJS in this line:
if ('ontouchstart' in global && !global.window.mochaPhantomJS) { ... }But I don't think this is a good solution.
Metadata
Metadata
Assignees
Labels
No labels