+ 2

// SOLVED Is there a built-in Unit Test API for JavaScript?

like this one for Python https://youtu.be/1Lfv5tUGsn8

17th May 2019, 11:07 AM
Gordon
Gordon - avatar
2 Respuestas
+ 2
Many unit test tools for JavaScript, famous one is Jest. For real JavaScript dev, they write codes with a lot of unit test to ensure their codes free of issues. Mocha is another unit test tool. https://code.sololearn.com/WdmebiMnC9f5/?ref=app Only amateur js guys, use console.log to do testing 🤣😅 So next time you see my js codes using console.log to test output, you can say I am non professional guy.. 🤣
17th May 2019, 11:15 AM
Calviղ
Calviղ - avatar
+ 2
Here a guide to use jest, easy to use but got to use node to run. https://flaviocopes.com/jest/
17th May 2019, 12:01 PM
Calviղ
Calviղ - avatar