computmaxer / karma-jspm

Other
74 stars 52 forks source link

Two more possible config files (jspm 0.17-beta.17) #158

Open sergei-maertens opened 8 years ago

sergei-maertens commented 8 years ago

The latest jspm version (0.17-beta.17, at the time of writing) adds support for more config files:

This brings all the config files to:

This would need to extra karma-jspm options, next to config and browser: dev and node.

If I can find the time, I should be able to make a PR for this.

FredLoney commented 8 years ago

You might wish to amend the README as follows:

Clarify:

You may have named your jspm config.js file or jspm_packages directory something else. In this case simply add that to the jspm configuration in karma.conf.js:

to read:

If your jspm config file is not named config.js or your jspm package directory is not jspm_packages, then add your jspm locations to the jspm configuration in karma.conf.js, e.g.:

The standard jspm config file is now 'jspm.config.js', which must be set in the karma config in order for karma-jspm to pick it up. The README wording is a bit confusing after this jspm change.