How to apply unit testing on react project?

Viewed 23

Basically, I do not know how to implement unit test on react projects. Please, anyone, provide me resources for implementing unit test on react project.

1 Answers

React uses jest as its default testing library, but you can swap out and put in any other testing library you want. The docs are here

Related