openedx / openedx/openedx-platform
Drop the use of Enzyme from our Frontend Testing
Open
@jciasenza is already working on this.
Since Nov 14, 2024.
maintenance
needs maintainer attention
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
The Enzyme library is being replaced across the open edx platform with the react testing library.
The edx-platform uses Enzyme for a very small number of its tests. These tests should be migrated to use the React Testing Library.
In fact, it looks like there is only one Enzyme test file: lms/djangoapps/instructor/static/instructor/ProblemBrowser/components/Main/Main.test.jsx
Parent Issue: https://github.com/openedx/public-engineering/issues/195
Contributor guide
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.
Assessment
This issue has not been assessed yet.