skw

simple-karma-wrapper

A super simple wrapper around Karma

Showing:

Popularity

Downloads/wk

6

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100