karma-jspm
karma-jspm copied to clipboard
Is it ignoring files[] array of karma config?
When I use JSPM with Karma, none of the files from files: [] array is loaded. But if I disable JSPM they start getting loaded.
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.
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.
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.