Testing Node API with Mocha & Chai
What is Mocha?
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun.
Synchronous Test Example
it('two plus two is four', () => {
expect(2 + 2).to.equals(4);
});
Async...
easybuoy.hashnode.dev