davidfowl/JabbR — pull request #176 by Haacked (2011-12-04 23:08:25+00:00)
Title: Added QUnit Unit Tests for Chat.js

I wanted to have you take a look at what I've done so far. I have many more to add, but I think this is a good start. Let me know if you have any feedback for the approach I'm taking here.

__To run the tests:__ Just visit `/tests` in the browser. It requires the site to be running locally.

Note that these tests do not include `Chat.ui.js`. This allows us to
test Chat.js in isolation.

I'll probably add separate tests for Chat.ui.js later in a separate
file.