dustingetz/react-cursor — pull request #25 by damassi (2014-10-22 00:04:54+00:00)
Title: Test examples

@dustingetz: Here are two test examples, with one running through the browser and the other through a PhantomJS, both via Mocha.

1. In one console tab, start `grunt test`. In another tab, start a server in the root of the project via `httpster` or whatever (so `node_modules` can be referenced), then navigate into `test/html` you should see the full mocha spec running. For complex debugging (including logs) I would stay in here.

2. When you run `grunt test` it will automatically spin up a PhantomJS instance and, via grunt watch, continually watch your test directory for changes, recompile, and then rerun the spec. I added examples of both passing and failing tests:

![screen shot 2014-10-21 at 5 03 44 pm](https://cloud.githubusercontent.com/assets/236943/4729045/ef13ef7c-597e-11e4-9f24-9de2980743a0.png)

Let me know if you need anything else!