enzymejs/enzyme

Spike: Evaluate options for testing library injected DOM

Open

#535 opened on Aug 11, 2016

View on GitHub
 (5 comments) (5 reactions) (0 assignees)JavaScript (19,979 stars) (2,016 forks)batch import
discussionhelp wanted

Description

Working with external, non-react, libraries is a pain in the react ecosystem; testing is no exception. We should see if there is anything we can do, to normalize the DOM that gets injected by third party libraries.

React's TestUtils do not currently support this, so it'd be a huge win if enzyme could.

Highcharts is a decent test library.

Contributor guide