0.0.2 • Published 11 years ago
karma-unexpected v0.0.2
karma-unexpected
Unexpected for Karma
Installation
Install the plugin from npm:
$ npm install karma-unexpected --save-devOr from Github:
$ npm install 'git+https://github.com/marcopeg/karma-unexpected.git' --save-devAdd unexpected to the frameworks key in your Karma configuration:
module.exports = function(config) {
config.set({
# frameworks to load
frameworks: [..., 'unexpected'],
# ...
});
};Usage
Unexpected will be available as expect:
it('should work', function() {
expect(1, 'to equal', 1);
});License
The MIT License (MIT)


