O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Karma plugins

Karma alone does not do all that much. You need plugins to get anything done. In fact, if you check your dev dependencies, you will see Karma already has some plugins installed:

"devDependencies": {
   "angular-mocks": "^1.6.1",
   "jasmine": "^2.5.3",
   "karma": "^1.4.1",
   "karma-chrome-launcher": "^2.0.0",
   "karma-jasmine": "^1.1.0"
}

The Chrome launcher and Jasmine plugin come with Karma by default. At least the Chrome launcher makes sense, as Karma was developed for Angular.js, which was developed by Google, who also made Chrome. Google owns you now. In the next part, we are going to install and use some plugins.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required