chai.md

July 15, 2021 · View on GitHub

Bookmarks tagged [chai]

www.codever.land/bookmarks/t/chai

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...


GitHub - domenic/chai-as-promised

https://github.com/domenic/chai-as-promised

Extends Chai with assertions about promises. Contribute to domenic/chai-as-promised development by creating an account on GitHub.


Express Integration Testing with SuperTest · InVision Engineering Blog

https://engineering.invisionapp.com/post/express-integration-testing-supertest/

Put down that REST Client (or, gasp, the browser!) you’re using to test that API you’re developing and back away slowly! There’s a better way! With SuperTest there’s no need to verify your API by hand...


Sinon.JS Assertions for Chai - Chai

http://chaijs.com/plugins/sinon-chai/

Sinon–Chai provides a set of custom assertions for using the Sinon.JS spy, stub, and mocking framework with the Chai assertion library. You get all the benefits of Chai with all the powerful tools of ...


chai-as-promised

https://www.npmjs.com/package/chai-as-promised

Extends Chai with assertions about promises.

You can write code that expresses what you really mean:


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

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


Chai home page

http://chaijs.com/

Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.