vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 762 forks source link

test(react): upgrade to react 17, remove enzyme #6760

Closed ashleyryan closed 2 years ago

ashleyryan commented 2 years ago

convert to react-testing-library, also update jest and jsdom versions

Signed-off-by: Ashley Ryan asryan@vmware.com

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

Other information

There are a handful of newer components (dropdown, popover) throwing exceptions in jsdom. Those are skipped for now, but those issues will need to be fixed.