visionmedia/mocha — Issue #75: exports style in browser
Author: pgherveou
Created: 2011-11-24 17:23:22+00:00
State: open

What do you think about using the exports style in the browser too ?

with an amd lib like require.js one could write his tests like this :

```javascript
require(['test/testFoo', 'test/testBar'], function(foo, bar) {
mocha.run({
'foo test': foo
'bar test': bar
});
});
```