Unit tests are responsible for testing individually methods, functions and classes, entering data in order to obtain an expected result.
In this post, you can see a tutorial to implement the a unit test with Mocha and Chai tools in your app:
https://blog.highdeveloper.com/pruebas-unitarias-con-mocha-y-chai-en-node-js/ (Spanish version)