Test one piece of functionality in one call to it () and use only a few statements if it is really necessary.
If you use 2 statements in one call to it (), failure of the first will block the execution of the second of them, thus hiding some of your tests and, therefore, prevent you from getting a complete picture of a possible error.
Learn how to use before / after and before each / after each inside the described block - this will really help you only perform tests on small parts of your code in each of them (). See the Hooks chapter in the mocha documentation .
If necessary, create your own set of helper functions to prepare your code for one test, to prevent (too much) code duplication in your tests. I believe that code duplication in tests is as bad as code duplication in your real one. ”