Intellij Karma-jasmine

Haven't somebody managed to setup proper Karma/Jasmine debugging under IntelliJ? Working breakpoints, executing single tets? 

So far I can only start Karma, run all tests, but breakpoint trigger only within test itselft and never in the libs. And no way to run single test (from console grep helps, but then no debug).

Please share your experience!

0

Breakpoints in both spec files and files being tested work fine to me; if it doesn't work for you, please provide a project that shows up the issue;

Running individual karma tests/files is not currently supported, please follow https://youtrack.jetbrains.com/issue/WEB-13173 for updates. The main issue is that Karma doesn't provide API for this - see https://github.com/karma-runner/karma/issues/1235: karma-jasmine adapter does already support `--grep`, but other adapters don't. Moreover, each framework adapter handles arguments in its own non-unified way

0

请先登录再写评论。