mocha.md

July 15, 2021 · View on GitHub

Bookmarks tagged [mocha]

www.codever.land/bookmarks/t/mocha

Modern Node.js: async/await based testing with Mocha & Chai

https://zaiste.net/modern_node_js_async_await_based_testing_with_mocha_chai/

Mocha is a JavaScript test framework running on Node.js and in the browser. It can run both asynchronous and synchronous code serially. Test cases are created using describe() and it() methods, the fo...


Setting up test coverage using Mocha, Istanbul, NYC with TypeScript

http://azimi.me/2016/09/30/nyc-mocha-typescript.1.html

package.json + mocha.opts configuration to get mocha and instanbul running with typescript


Using Istanbul With TypeScript & mocha

https://istanbul.js.org/docs/tutorials/typescript/

Thanks to @mohsen1's post the following is the minimum recommended configuration to get accurate TypeScript coverage with mocha. With this…


The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon · GitHub

https://gist.github.com/yoavniran/1e3b0162e1545055429e


Mocha - home page

http://mochajs.org/

Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate report...