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...
- :calendar: published on: 2017-04-09
- tags: mocha, chai, testing
- :octocat: source code
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.
- tags: chai, promise, testing
- :octocat: source code
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...
- :calendar: published on: 2016-06-27
- tags: expressjs, integration-testing, supertest, chai
- :octocat: source code
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 ...
- tags: node.js, unit-testing, sinon, chai
- :octocat: source code
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:
- tags: node.js, chai, unit-testing, promises
- :octocat: source code
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon · GitHub
https://gist.github.com/yoavniran/1e3b0162e1545055429e
- tags: node.js, unit-testing, mocha, chai, sinon
Chai home page
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
- tags: node.js, testing, unit-testing, chai
- :octocat: source code