How does js-karma plugin gets the path of the tests files? (Segrey)

Hi man, sorry for bothering you again. I was wondering if you could explain me how the js-karma plugin gets the path of the tests files Karma is running.

I wanna use this to be able to open the file when the user clicks on the test in Test Explorer.

0
1 comment

Hey! Sorry for the delay.

When IDE runs Karma tests, the test path are not exposed to IDE (https://github.com/karma-runner/karma/issues/505). Instead, IDE indexes all test files and maintains (test name) -> (test path) map.

0

Please sign in to leave a comment.