enzymejs/enzyme

Spike: Evaluate options for testing library injected DOM

Open

#535 opened on Aug 11, 2016

 (5 comments) (5 reactions) (0 assignees)JavaScript (1,970 forks)batch import
discussionhelp wanted

Repository metrics

Stars
 (19,829 stars)
PR merge metrics
 (No merged PRs in 30d)

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