twolfson / doubleshot

Run separated BDD outlines and content on Mocha
MIT License
1 stars 0 forks source link

Move require functionality from bin into library #21

Closed twolfson closed 11 years ago

twolfson commented 11 years ago

mocha requires files inside of the directory itself. We should too. This would allow for YAML requires via a programatic API.

https://github.com/visionmedia/mocha/blob/042d71317b575c254dda596ea2a0f1fef45ecbc0/lib/mocha.js#L145-L156

TODO: Review how mocha works in the browser since it lacks require.

twolfson commented 11 years ago

Released in 2.1.0. Leaving TODO for #15 .