Reputation: 2625
I have this matchers file which I would like to include in karma:
link: https://github.com/froots/jasmine-sinon
I'm using jasmine and sinon. I don't think this plugin is supported by karma. Can I manually configure it somehow?
I tried to add it in config files but karma didn't pick it
files: [
'bower_components/jasmine-sinon.js' //Added it here ???
'bower_components/jquery/dist/jquery.js',
'bower_components/underscore/underscore.js',
'bower_components/backbone/backbone.js',
'app/js/*.js'
],
https://www.npmjs.com/package/karma
Upvotes: 0
Views: 497
Reputation: 317
you will need to have it point directly to the file, in this case, the correct path should be bower_components/jasmine-sinon/lib/jasmine-sinon.js
.
Upvotes: 0