Nocturnal Practitioners of Magic
    Have ideas to improve npm?Join in the discussion! »

    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

    Install

    npm i sigh-karma

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    GPL

    Last publish

    Collaborators

    • avatar