visionmedia/mocha — Issue #296: Unshift a path to require.paths --include option
Author: thadclay
Created: 2012-02-27 20:36:46+00:00
State: open

Is there a way to do this in mocha? I have a bunch of expresso tests that I am migrating over to mocha which used the --include option to shift the paths so that you could do var helper = require('lib/helpers/some_helper'). With mocha I now have to do var helper = require('../../lib/helpers/date_helper').