First of all, I hope your day was good.
🔎 The question
There are plenty of tools like Mocha, Jest, Tape, AVA... But they all are slow, +1s for a simple test.
Do not hesitate to debate and share your experience, I’m very interested to know your preferences.
Top comments (2)
I use jest every day. It provides a good api and mocking is easy with it. For speed improvement you should try the --watch argument. You can filter which tests are executed e.g only the tests which was not successful. It executes the test when you save a file. I also use wallabyjs as an addition to get quick results directly in the IDE.
I use Chai + Mocha in some projects but I use Jest more now because I like it's builtin JSDom features along with mocking.