enzymejs/enzyme

Spike: Evaluate options for testing library injected DOM

Open

#535 ouverte le 11 août 2016

Voir sur GitHub
 (5 commentaires) (5 réactions) (0 assignés)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.

Guide contributeur