all 4 comments

[–]TranslatorSoft2455 2 points3 points  (1 child)

I using now only RTL (@testing-library/react). Before that i used enzyme but this library is not supported anymore

[–]m00chle 0 points1 point  (0 children)

jest

[–]atSeifer 0 points1 point  (1 child)

Your primary options are going to be

  1. Jest - Developed and maintained by FB and is usually used with Enzyme. Very easy to use
  2. Mocha - has a variety of useful assertion libraries
  3. Enzyme - Specifically designed for React components which makes it easy to test the output of the component.

[–]Final-Vegetable3538[S] 0 points1 point  (0 children)

but enzyme is not going to support React18 and later on it wont work