computmaxer / karma-jspm

Other
74 stars 50 forks source link

when my js file is named log_decorator.js, karma-jspm adapter always fails to find it #16

Open capaj opened 10 years ago

capaj commented 10 years ago

I get his error:

Chrome 38.0.2125 (Windows 7) ERROR
  Uncaught Not Found: C:/git_devel/zen/gui/zuiplugin_dll/app/js/Zen/Logging/log_deco
rator.js
  at C:/git_devel/zen/gui/zuiplugin_dll/node_modules/karma-jspm/src/adapter.js:47
Chrome 38.0.2125 (Windows 7): Executed 0 of 0 ERROR (0.003 secs / 0 secs)

I use commonJS module notation and when I try to require this module anywhere in my app. After I change the name of the file and require call to 'anything.js' it works flawlessly(or any other name I have tried).