chai-kahlan
v2.0.1
Published
Kahlan's matchers for chai.
Downloads
89
Readme
chai-kahlan
chai-kahlan is an extension which provides kahlan's matchers for chai assertion library.
Note: toReceive()
&& toReceiveNext()
are not supported. However jasmine's native spyOn()
/toHaveBeenCalled()
combo is supported instead.
Installation
npm install chai-kahlan --save-dev;
Usage
node:
require('chai-kahlan');
browser:
<script src="vendor/mocha/mocha.js" type="text/javascript"></script>
<script src="vendor/chai/chai.js" type="text/javascript"></script>
<script src="vendor/chai-kahlan/chai-kahlan.js" type="text/javascript"></script>