Skip to content
An example of how to set up Mocha with Require.js and run it through Node.js
JavaScript

README.md

Mocha Bootstrap

Description

Mocha Bootstrap demonstrates how to create Mocha tests with Require.js and Node.js. There was precious little documentation on how to get this done, so I figured out how to do it through sheer will and determination.

Installation

Install mocha-bootstrap git clone git://github.com/clubajax/mocha-bootstrap.git mocha-bootstrap

Install dependencies

$ cd mocha-bootstrap
$ npm install

Run browser version: localhost/mocha-bootstrap/index.html

Run node version:

$ node node_runner

License

This package may be used without restriction, and is released under the same licensing as Dojo, where applicable.

Something went wrong with that request. Please try again.