openedx / frontend-component-cookie-policy-banner

The edX cookie policy banner component implemented in React.
GNU Affero General Public License v3.0
2 stars 18 forks source link

Replace enzyme with React Testing Library #440

Open feanil opened 1 month ago

feanil commented 1 month ago

This is part of https://github.com/openedx/public-engineering/issues/195 (Enzyme Replacement)

The above ticket explains why but given that we want this to continue to work with the latest version of the openedx platform. We should make this migration in this repository as well.

feanil commented 1 month ago

@openedx/committers-cookie-policy-banner can one of you take on this work or otherwise schedule it to be done before the Sumac cut?

feanil commented 1 month ago

Looking at the repo though, it looks like this repo is already running tests with Node 18 so I wonder if the tests have all moved but we just haven't gotten around to removing the old dependency.