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

refill-task-karma

4.0.1 • Public • Published

Refill task karma

Karma task in Refill 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 refill-task-karma refill gulp

Example

Refill taks karma is used in Refill for Angular

Usage

gulpfile.js

require('refill')({
  js: {
    task: require('refill-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/',
  istanbulReporters: [{
    type: 'html',
    subdir: 'coverageHtml'
  }, {
    type: 'clover',
    subdir: 'coverageClover'
  }, {
    type: 'text-summary'
  }],
  browserifyTransforms: [],
  babelPluginIstanbulOptions: {
    exclude: [
      '**/node_modules/**',
      '*Spec.js',
      '**/*Spec.js'
    ]
  }
}

Changelog

Changelog at github

Sponsors

Zaklinacze Kodu

install

npm i refill-task-karma

Downloadsweekly downloads

0

version

4.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability