☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fixed CWD relative requires
Tj Holowaychuk681a4212c6ab
diff --git a/bin/_mocha b/bin/_mochaindex 9fc04a48..445c159b 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -84,7 +84,8 @@ program.on('interfaces', function(){// -r, --require-module.paths.push(join(cwd, 'node_modules'));+module.paths.push(cwd, join(cwd, 'node_modules'));+program.on('require', function(mod){require(mod);});