Tagged: mocha

0

How to set the timeout of a test in mocha

Mocha uses a default timeout of 2000 ms. However, if for some reason that does not work for your use case, you can increase the timeout for a particular test. You can do so...

3

Unit test your Nodejs RESTful API using mocha

Its always a good idea to have some quick and simple automated tests in place for your REST api so that you know that you didnt break anything that already worked when you add...