Skip to content

Instantly share code, notes, and snippets.

@MitMaro
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MitMaro/eb09a24817bcc58f9421 to your computer and use it in GitHub Desktop.
Save MitMaro/eb09a24817bcc58f9421 to your computer and use it in GitHub Desktop.
Rewire Mocha Bug
node_modules
var rewire = require('rewire');
var test = rewire('./test');
{
"name": "rewire.mocha.bug",
"version": "0.0.0",
"description": "Test case for a bug in rewire",
"main": "test.js",
"dependencies": {
"mocha": "^2.2.4",
"rewire": "^2.3.1"
},
"devDependencies": {
"mocha": "^2.2.4"
},
"author": "Tim Oram <mitmaro@gmail.com>",
"license": "ISC"
}
'use strict';
function run() {}
module.exports = run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment