Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

1

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar