Answer the question
In order to leave comments, you need to log in
What are tests written in for Node.js projects?
Goodnight!
Tell me, what is the best way to write tests on Node.js projects? On the client, we use react and test projects using Jest, which does a great job of everything.
I tried to connect it to the project on the node and saw a warning from the developers that Jest was developed as a front-end testing framework and that you can use it to test Node at your own peril and risk.
I plan to test the work of services and their work with databases - mongo & mysql
Googled what tools are there besides - mocha (+ chai), AVA?
What is generally relevant and worth using? Or can you use the same Jest, you just need to configure it correctly?
Answer the question
In order to leave comments, you need to log in
JEST is quite possible to use, so you write a data validation function that returns either true or false, and you want to check it: do true and false on the front-end differ from true and false on the back-end? :) - of course not!
Use for health!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question