computmaxer / karma-jspm

Other
74 stars 50 forks source link

Is it ignoring files[] array of karma config? #66

Open abhijeetkpawar opened 9 years ago

abhijeetkpawar commented 9 years ago

When I use JSPM with Karma, none of the files from files: [] array is loaded. But if I disable JSPM they start getting loaded.

kubawalinski commented 9 years ago

I think this is expected and this is the whole point of using this plugin. You should get all your files loaded via jspm's loadFiles property.

letmaik commented 9 years ago

For reference, I have files: [], an empty array! If this always works and is how it should be then it should be made more clear in the documentation.

maxwellpeterson-wf commented 9 years ago

You can still use the files array to add anything you want to load before Systemjs/jspm start loading tests. This is useful for anything you would want to be globally available, e.g. jQuery, angular, etc.