0.0.2 • Published 9 years ago
karma-jasmine-as-promised v0.0.2
karma-jasmine-as-promised
- It uses (and will always use) the latest compatible versions of every library.
- It uses
peerDependencies
only. - No
bower
dependency.
##Note: The the majority of this is just barely modified from karma-mocha-as-promised upstream. If I do or write something stupid, call me out on it!
Usage
After installing karma-jasmine,
add jasmine-as-promised
before jasmine
to the frameworks
key in your Karma configuration:
module.exports = function(config) {
config.set({
// frameworks to use
frameworks: ['jasmine-as-promised', 'jasmine']
// ...
Usage with karma-requirejs
If you are going to use karma-requirejs, make sure you place requirejs
first in the order of your frameworks.
frameworks: ['requirejs', 'jasmine-as-promised', 'jasmine']
Contributors
Javier Mendiara: karma-mocha-as-promised, which I gratuitously copied Martin Hansen: Documentation update in karma-mocha-as-promised
License
MIT Licensed
0.0.2
9 years ago