enzymejs / enzymejs/enzyme

Spike: Evaluate options for testing library injected DOM

Open
#535 5 comments 5 reactions 0 assignees View on GitHub
discussion help wanted
Dominant language
JavaScript
Stars
19.8k
Forks
2k
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

Open the contributing guide

Research direction

Start by reviewing React's TestUtils limitations for DOM injected by external libraries and use Highcharts as the concrete evaluation case. Determine whether Enzyme can normalize that injected DOM, then document the viable options and their trade-offs as the completed spike.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.