1.0.4 • Published 10 years ago

simple-karma-wrapper v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

simple-karma-wrapper

A super simple wrapper around Karma

This is very hacky and will fail if used incorrectly, I mostly built this for myself

build status

Installation

This module is installed via npm:

$ npm install simple-karma-wrapper

API

start(configFile, options, callback)

configFile

Type: Sting

Default: karma.conf.js

The path to your karma config file

options

Type: Object

Default: {}

Options to pass into karma

callback

Type: Function

Optional callback to run when karma is finished. Useful for gulp

run(config, callback)

config

Type: Object

Default: {}

Options to pass into karma

callback

Type: Function

Optional callback to run when karma is finished. Useful for gulp

Example Usage

var simpleKarmaWrapper = require('simple-karma-wrapper');

simpleKarmaWrapper.start("karma.conf.js", { port: 9879 }, callback);

simpleKarmaWrapper.run(callback);
1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago