test_patched_require.js 145 Bytes Raw Blame History Permalink 1 2 3 4 5 var require = patchRequire(require); var casper = require('casper').create(); var mod = require('./mod'); console.log(mod.hello); casper.exit();