0.1.0 • Published 9 years ago

karma-jasmine-eventually v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

karma-jasmine-eventually

A Karma plugin to inject Jasmine-Eventually for Jasmine.

Example karma.conf.js

All that's required is that jasmine-eventually appears after jasmine in your frameworks config.

module.exports = function(config) {

  config.set({

    frameworks: [
      'jasmine',
      'jasmine-eventually'
    ],

    files: [
      'spec/**/*.spec.js'
    ],

    preprocessors: {
      'src/**/*.js': ['coverage']
    },

    reporters: [
      'progress',
      'coverage'
    ],

    coverageReporter: {
      type: 'html',
      dir: 'build/coverage/'
    }

  });

};