Install the plugin from npm:
$ npm install karma-quixote --save-dev
Or from Github:
$ npm install 'git+https://github.com/woldie/karma-quixote.git' --save-dev
Instructions on how to install karma can be found here
In your Karma configuration:
- add
require('karma-quixote')
to the plugins list, and - add
quixote
to theframeworks
key
// karma.conf.js
module.exports = function(config) {
config.set({
plugins: [ require('karma-quixote'), ... ],
frameworks: ['quixote', ... ],
.
.
.
});
};
This karma plugin simply loads and installs the global quixote
namespace object. It is your responsibility
to initialize a QFrame for Karma to add to its DOM and then make quixote assertions in your tests as described
on the Quixote page
The MIT License (MIT)