I'm writing tests to run in node.js with mocha via jsdom (following this example) and I notice node-underscorify does not have an effect when the require() is done outside of browserify (makes sense). Is there any way to run my require() through node-underscorify outside of browserify? Or am I going about testing all wrong?
I'm writing tests to run in node.js with mocha via jsdom (following this example) and I notice node-underscorify does not have an effect when the
require()
is done outside of browserify (makes sense). Is there any way to run myrequire()
through node-underscorify outside of browserify? Or am I going about testing all wrong?