Testing with jest

I watched your tutorial on react. In the tutorial, we used vite to create our react project. I am working on a project, and would need to test it.

I have tried to use jest, but I keep getting compilation errors. I have downloaded and added all dependencies but it still doesn’t work.

How can I test this project that was created with the vite module bundler?