karma-runner/karma-commonjs — pull request #24 by pkozlowski-opensource (2014-05-25 13:50:36+00:00)
Title: refactor: check required global variables only once

Moving checks to a wrapper in order to:
* avoid executing them on each call to `require`
* don't execute "load all modules" logic under tests