karma-runner / karma-commonjs

A Karma plugin. Test CommonJS modules.
MIT License
73 stars 30 forks source link

Clarify best uses cases and alternatives #38

Closed bendrucker closed 9 years ago

bendrucker commented 9 years ago

Happy to continue working on this if anyone feels this is unclear

Closes #37

bendrucker commented 9 years ago

Not sure where your comments went. The gist of my reply is that I have no idea where I got the idea that karma-commonjs doesn't support the require algorithm. Must've confused the fact that you need to manually add node_modules files that are used to files and preprocessors. Just took another crack at this with 2 bulleted lists in an effort to go into more detail about who should be using which approach and why.

pkozlowski-opensource commented 9 years ago

@bendrucker thnx for the update. I'm fine with merging this PR - I hope people are not going to get confused but if they do we can always update the readme.