Closed tombh closed 9 years ago
What testing environment do you use? Some tools (e.g. karma) have plugins that allow you to use the same tools you use for compilation.
Ah yes, good point. I'm using purely server-side tests using jasmine-node. I think I've figured out a way - by detecting the environment and using the require-dir
module for jasmine-node.
I've been using this module, but when it comes to testing I can't get the hash of required modules because my project isn't being transformed through browserify.