Is it possible to use PhantomJS for testing? Because I need to use such a thing like mutationObserver my test are failing in jsdom.
No, unfortunately that is not currently possible. It may be possible to implement a separate PhantomJSContext for jest and you are welcome to send a pull request. Feel free to join our channel on discord ( https://facebook.github.io/react/blog/2015/10/19/reactiflux-is-moving-to-discord.html ) and ping me about this!
As of this time we have not planned adding support for this so I'll be closing this issue to keep the queue short. Feel free to re-open if you are planning to help and send a PR.
Most helpful comment
No, unfortunately that is not currently possible. It may be possible to implement a separate PhantomJSContext for jest and you are welcome to send a pull request. Feel free to join our channel on discord ( https://facebook.github.io/react/blog/2015/10/19/reactiflux-is-moving-to-discord.html ) and ping me about this!
As of this time we have not planned adding support for this so I'll be closing this issue to keep the queue short. Feel free to re-open if you are planning to help and send a PR.