karma-should
Use should.js (2.0.2+) with karma tests.
Status
Installation
Install the package via npm
:
$ npm install karma-should --save
Usage
Add should
as part of frameworks
property configuration of karma
. In the following example, the testing framework mocha
is also included although not required.
module { config;};
By default, karma
loads all plugins
that are siblings to it and their name matches karma-*
so no additional configuration is required.
Load karma
and all should
assertions will now available in the tests:
;
License
MIT