I\'m trying to add some unit tests to one of my projects.
So far I\'ve installed and configured karma, and have installed jasmine. I\'ve one test file in my te
I had a bad 'files' configuration in my karma.conf.js
files: ['**/*.js'],
this caught up all the files in node_modules/ including those of the karma-jasmine plugin, as it was seen as sourde files it wasn't loaded on startup. Changing to
files: [
'src/*.js',
'spec/*.js'
],
solved the problem in my case