Open spaasis opened 7 years ago
For the error no provider for framework:jasmine-jquery...
, try npm install karma-jasmine-jquery --save-dev
, and then replacing jasmine-jquery
in the plugins with karma-jasmine-jquery
like here
Not sure if this helps in your case, but I just had the same error message ("Cannot set property 'spiedEventsKey' of undefined
"). In my case the reason was, that I accidentally removed the include of Jasmine's boot.js
Other than that: As long as you haven't installed jasmine-jquery via NPM, you will have to load it via the "files" section of the karma config
I am seeing the same error "Cannot set property 'spiedEventsKey' of undefined". Any update on the fix for this?
Hi, I've been fiddling around with the config for a while now, and can't seem to get it to work.
Karma.conf.js:
I get two errors when starting the tests:
I've tried setting the jquery and jasmine-jquery paths to the
files
, changing the order offrameworks
andmodules
, but nothing seems to stick. If I remove jasmine-jquery fromframeworks
, the second error disappears.Any clues where to get started?