openedx / openedx/openedx-platform

Drop the use of Enzyme from our Frontend Testing

Open
#35,245 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.