Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
iconfalse

This tutorial describes how to use the Karma test runner in the WebStorm IDE.

Table of Contents

Karma integration in WebStorm

...

Starting with WebStorm 7.0, you can use the Karma test runner to run JavaScript tests for your project.
Karma integration in WebStorm:

...

Make the required changes in the Karma configuration file, for example:

Code Block
    reporters: ["coverage"],
    preprocessors: {
        "**/*.js": "coverage"
    }

...