Bookmarks tagged [mocha]
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...
- 📆 published on: 2017-04-09
- tags: mocha, chai, testing
- source code
http://azimi.me/2016/09/30/nyc-mocha-typescript.1.html
package.json
+ mocha.opts
configuration to get mocha and instanbul running with typescript
- 📆 published on: 2016-09-30
- tags: node.js, unit-testing, mocha, instanbul, code-coverage, typescript
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…
- tags: node.js, unit-testing, mocha, instanbul, code-coverage
https://gist.github.com/yoavniran/1e3b0162e1545055429e
- tags: node.js, unit-testing, mocha, chai, sinon
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...
- tags: node.js, testing, unit-testing, mocha, javascript
- source code