-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Labels
Description
Basic info:
- Node.js version: v8.9.3
- jsdom version: 11.6.2
Minimal reproduction case
const { JSDOM } = require("jsdom");
const dom = new JSDOM();
new dom.window.Touch({identifier: '', target: dom.window});This throws "TypeError: dom.window.Touch is not a constructor."
How does similar code behave in browsers?
It works: http://jsbin.com/tavariviju/edit?js,console
Standard: https://w3c.github.io/touch-events/#touch-interface
kenrick95, oliviertassinari, vonBrax, igorskh, waynevanson and 3 more