Home > Blockchain >  Can't navigate to Karma test file from Tests Run tab in IntelliJ Ultimate
Can't navigate to Karma test file from Tests Run tab in IntelliJ Ultimate

Time:12-19

I have an Angular project with Karma/Jasmine tests files. I configured my IntelliJ IDEA (2022.2.4 (Ultimate Edition)) to run Karma tests, which works mostly fine.

One thing that doesn't work is opening the Tests Run tab and navigating to the source for a test by clicking on the test name.

For example on the screenshot below, I expect that clicking on the test marked in red would open the corresponding project-menu-component.spec.ts file to the corresponding it(), but nothing actually happens when I click:

enter image description here

I have the following settings:

  • enter image description here

  • enter image description here

CodePudding user response:

Jump to source doesn't work for specs with dynamically generated names. Related ticket: WEB-26625, please vote for it to get notified on updates

  • Related