### Installing should-sinon with npm (Bash) Source: https://github.com/shouldjs/sinon/blob/master/README.md This command installs the `should-sinon` package as a development dependency using npm. It integrates Sinon.js assertions with should.js, making its functionalities available for testing purposes. ```bash $ npm install should-sinon --save-dev ``` -------------------------------- ### Testing Call Count with should-sinon (JavaScript) Source: https://github.com/shouldjs/sinon/blob/master/README.md This example demonstrates how to use `should-sinon` to assert that a Sinon.js spy was called exactly once. It requires `sinon`, `should`, and `should-sinon` to be imported to enable the extended assertion capabilities. ```javascript var sinon = require('sinon'); var should = require('should'); require('should-sinon'); it('should get number of calls', function() { var callback = sinon.spy(); callback(); callback.should.be.calledOnce(); }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.