sigh-karma

0.1.0 • Public • Published

sigh-karma

build status

Runs karma with the provided options each time the plugin receives a value. If the tests are already running then the process is killed and the tests are run in a new process. The plugin maintains a cache of at least two processes with the karma state set up ready to run a test to ensure minimal latency.

Example

npm install --save-dev karma then add this to your sigh.js:

var karma, glob, babel, write
 
module.exports = function(pipelines) {
  pipelines['build:source'] = [
    glob({ basePath: 'src' }, '**/*.js'),
    babel(),
    write('build/assets'),
    karma()
  ]
}

You can pass an object containing karma options as the first parameter to karma.

TODO

  • Write more tests

Package Sidebar

Install

npm i sigh-karma

Weekly Downloads

0

Version

0.1.0

License

GPL

Last publish

Collaborators

  • jpike