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