karma-jasmine-eventually
0.1.0 • Public • Published karma-jasmine-matchers
A Karma plugin to inject
Jasmine-Matchers for
Jasmine.
Example karma.conf.js
All that's required is that jasmine-matchers
appears after jasmine
in your frameworks
config.
module.exports = function(config) {
config.set({
frameworks: [
'jasmine',
'jasmine-matchers'
],
files: [
'spec/**/*.spec.js'
],
preprocessors: {
'src/**/*.js': ['coverage']
},
reporters: [
'progress',
'coverage'
],
coverageReporter: {
type: 'html',
dir: 'build/coverage/'
}
});
};
Nested Reporter
Please also check out karma-nested-reporter,
which provides easy to read test output by nesting describe and it blocks.
Package Sidebar
Install
npm i karma-jasmine-eventually
Weekly Downloads