React testing with Mocha

Joined
Feb 7, 2024
Messages
1
Reaction score
0
Hello guys I have a question. Im not sure if you can use Mocha for testing nowadays for react. Because the latest version of React is 18 and mocha uses Enzyme most of the time for testing. But Enzyme doesn't supports React 18. So I tried testing without enzyme but I also had some trouble with barbel and I asked ChatGBT for help but nothing worked. Maybe it also has something to do with the new Version React 18? Pls Give me some help or any suggestions on how to use Mocha in 2024 to test Reactprograms.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,717
Messages
2,569,382
Members
44,701
Latest member
OurCBDLifeSupplement

Latest Threads

Top