jfirebaugh/konacha — pull request #76 by billmag (2012-11-08 01:02:53+00:00)
Title: Adds support for RequireJS

Making this pull request to see if people are interested. I'm using this successfully with require.js.

Unfortunately, it currently requires pointing at my fork of requirejs-rails, though, I've submitted a pull request to the maintainer of requirejs-rails and he will hopefully be launching 1.0 reasonably soon.

I've also added a rake task which lets you run the konacha server so you can more easily develop/debug the mocha specs in dummy application.

I've further included mocha.ignoreLeaks as a global property because of the strange leaks that have been seen since the iframe change. I'm not sure if you want this to be a default, but it was definitely required to get deterministic test behavior.