Tag: should
-
Post Views: 16 1. Reference: In Refactoring: Improve the Design of Existing Code (2nd Edition), run test cases based on Mocha. 2. MOCHA allows you to use any of the assertion libraries you want. In the above example, we used Node.js’s built-in assertion module. Schedule to use assertion library Chai. 3. Reference:https://mochajs.org/#assertions. The assertion library Chai supports expect(), assert() and…
