karma-runner / karma-commonjs

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

Expose __filename and __dirname globals #27

Closed pkozlowski-opensource closed 10 years ago

pkozlowski-opensource commented 10 years ago

This should be pretty trivial change and would make the plugin behave even closer to the way node.js operates.

jamesshore commented 10 years ago

+1