enzyme icon indicating copy to clipboard operation
enzyme copied to clipboard

Update jsdom.md to work with react-native

Open connected-mgosbee opened this issue 9 years ago • 0 comments

The original example does not work with react-native because of (for example) TimerMixin sets a variable GLOBAL based on whether or not window or global exists. If window exists, it chooses that to look for requestAnimationFrame, setTimeout and setInterval. I then tries to use GLOBAL.setTimeout which doesn't exist.

connected-mgosbee avatar Nov 28 '16 19:11 connected-mgosbee