plotly / plotly/react-plotly.js
How to test React components developed using React-Plotly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 138
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 4
Description
Hello,
My team is developing an analytics app using React. We're using react-plotly to generate charts in our app. My question is what is the recommended way to test these components?
In our old App, we were downloading the image of the plot using plotly. Save that to our Repo. The test used to generate the image of the plot. Compare the saved image with image generated by the chart.
What is the recommended way of testing? Can anyone point to the tests they're writing?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by reviewing the project's existing test setup and React component tests, then document a recommended testing approach with a clear example and verification criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, plotly, react
- Domain
- data-visualization, frontend, testing
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100