react-component / react-component/motion
Mocking rc-motion
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 178
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
We are very badly stuck with testing our UI which is based on AntD. One problem we are facing is the Tree component which uses rc-motion to animate expand and collapse of a tree node.
Appreciate it you can please share a way to jest mock the rc-motion.
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
The issue names AntD's Tree, rc-motion, and Jest but no repository file or test. Start by locating the Tree motion integration and reproducing expand/collapse behavior in Jest; done would be a documented, repeatable mocking approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, testing
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100