palantir / blueprint

A React-based UI toolkit for the web
https://blueprintjs.com/
Apache License 2.0
20.71k stars 2.17k forks source link

[table] use enzyme testing harness instead of our own #2076

Open adidahiya opened 6 years ago

giladgray commented 6 years ago

@themadcreator wrote that test harness originally because enzyme was incapable of simulating native browser events--it only simulates React synthetic events. the Table relies on a lot of document event listeners, so enzyme was a non-starter 😢 .

fairly sure this is still true of enzyme: synthetic events only.