Page tree

Versions Compared

Key

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

...

First, make sure that Node.js is installed on your computer.
Install Karma using npm:

  • Globally

Open WebStorm’ built-in Terminal (on the main menu, choose Tools | Open Terminal) and run

Code Block
npm install -g karma

to install Karma into your global node_modules directory and create a symlink to its binary.

Image Removed

  • Locally
  • Locally

The recommended approach is to install Karma (and all the plugins your project needs) locally in the project's directory.
Use WebStorm’ built-in npm ( on the toolbar or in Settings | JavaScript | Node.js and NPM) search and install Karma for your project.

...