Skeleton setup for a bare project using karma with mocha and chai.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.eslintrc
.gitignore
Gruntfile.js
HOWTO.md
README.md
karma.conf.js
package.json

README.md

karma-mocha-chai

Skeleton setup for a bare project using karma with mocha and chai.

Note: I have only tested this setup on OSX. Windows users will probably need to configure the PHANTOMJS_BIN environment variable.

Getting started

  1. Install global npm dependencies
    • npm i -g grunt-cli
  2. clone the repository
  3. npm i
  4. npm test

After running npm test you should see a failing test.

Changelog

  • 04/18/15
    • Updated to use eslint instead of jshint
    • Updated instructions
  • 07/14/14
    • Updated to use 0.12.x version of karma
    • Added a grunt configuration