Dave Ceddia
Dave Ceddia

Reputation: 1490

How can I navigate to failed Karma tests in WebStorm?

I'm able to run my Karma test suite from within WebStorm, using a Karma Run Configuration. After the tests run, the failed ones are shown in a tree on the left side. I would expect that I could click/double-click on a test name and be taken to the source code for the test, but that doesn't happen.

I'm pretty sure I've seen this work in a video before. How can I turn it on?

I looked at the documentation here but it wasn't very helpful: http://www.jetbrains.com/webstorm/webhelp/test-runner-tab.html

Upvotes: 1

Views: 233

Answers (1)

Ekaterina Prigara
Ekaterina Prigara

Reputation: 4957

In Karma tool window click gear icon and check Auto scroll to source.

enter image description here

Upvotes: 1

Related Questions