enzymejs/enzyme

Spike: Evaluate options for testing library injected DOM

Open

#535 aperta il 11 ago 2016

Vedi su GitHub
 (5 commenti) (5 reazioni) (0 assegnatari)JavaScript (2016 fork)batch import
discussionhelp wanted

Metriche repository

Star
 (19.979 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor