/karma-starterkit

Experiment on unit tests with Node.JS and Karma / Browserify / Istanbul.

Primary LanguageJavaScriptMIT LicenseMIT

karma-starterkit

Experiment on unit tests with Node.JS and Karma / Browserify / Istanbul.

Installation

# Get the latest snapshot
$ git clone --depth=1 https://github.com/slecorvaisier/karma-starterkit mystarterkit
$ cd mystarterkit
$ git remote rm origin

# Install NPM dependencies
$ npm install

# start app in dev mode
$ npm run start

# start app in prod mode
$ npm run start:prod

# test with Karma
$ npm run test

# test with Mocha only
$ npm run test:mocha

License

MIT