karma-runner / karma-commonjs

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

Support nodejs 'global'. #44

Open obuchtala opened 9 years ago

obuchtala commented 9 years ago

Some libraries (e.g., lodash) make use of node's 'global' variable (https://nodejs.org/docs/latest/api/all.html#all_global).

amercier commented 9 years ago

:+1:

ctapobep commented 9 years ago

Will that be merged? Jasmine for instance uses global so I assume I'd need to downgrade it to have it working until this PR is merged.

pkozlowski-opensource commented 8 years ago

Will that be merged?

Sure, this looks like a solid change, but we need test for it.