Last active
August 29, 2015 14:19
-
-
Save MitMaro/eb09a24817bcc58f9421 to your computer and use it in GitHub Desktop.
Rewire Mocha Bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var rewire = require('rewire'); | |
| var test = rewire('./test'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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 <[email protected]>", | |
| "license": "ISC" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '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