How can I navigate to failed Karma tests in WebStorm?

喜你入骨 提交于 2019-12-11 11:40:33

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/25017017/how-can-i-navigate-to-failed-karma-tests-in-webstorm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!