Wondering what’s next for npm?Check out our public roadmap! »

    This package has been deprecated

    Author message:

    Renamed to refill-task-karma

    zkflow-task-karma

    2.0.0 • Public • Published

    ZKflow task karma

    Karma task in ZKflow format

    Made by Zaklinacze Kodu

    Facebook

    Shields

    npm npm npm Travis
    bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code
    GitHub forks GitHub stars GitHub watchers

    Installation

    npm install --save zkflow-task-karma zkflow gulp

    Example

    ZKflow taks karma is used in ZKflow for Angular

    Usage

    gulpfile.js

    require('zkflow')({
      js: {
        task: require('zkflow-task-karma')
      }
    }, require('gulp'), mode)

    mode

    Mode object. Determines task mode of operation.

    {
      // If true rerun all tests on any js file changes. Do not stop on errors.
      // skip coverage and junit
      // If false run only once and stop on any error
      // generate coverage and junit
      watch: true 
    }

    Default options

    {
      files: [
        'src/*Spec.js',
        'src/**/*Spec.js'
      ],
      logLevel: 'warn',
      frameworks: ['jasmine', 'browserify'],
      browserNoActivityTimeout: 120000,
      preprocessors: {
        'src/**': ['browserify']
      },
      browsers: ['Chrome'],
      reporters: ['progress'],
      plugins: [],
      reportsBaseDir: 'reports/test/',
      junitReporterOutputDir: 'junit/',
      htmlReporterOutputDir: 'html/',
      istanbulIgnore: [
        '**/node_modules/**',
        '**/bower_components/**',
        '*Spec.js',
        '**/*Spec.js'
      ],
      istanbulReporters: [{
        type: 'html',
        subdir: 'coverageHtml'
      }, {
        type: 'clover',
        subdir: 'coverageClover'
      }],
      browserifyTransforms: []
    }

    Sponsors

    Street Team

    Zaklinacze Kodu

    Install

    npm i zkflow-task-karma

    DownloadsWeekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar