This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

simple-karma-wrapper

1.0.4 • Public • Published

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);

Readme

Keywords

Package Sidebar

Install

npm i simple-karma-wrapper

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • r3fuze