Raagh / angular-karma_test-explorer

vscode extension for easy angular testing and debugging
https://marketplace.visualstudio.com/items?itemName=raagh.angular-karma-test-explorer
MIT License
65 stars 23 forks source link

Fix showing the decorator on the correct line #119

Closed midyro closed 3 years ago

midyro commented 3 years ago

While using this extension I was confused with the position of the test result. I saw that someone had created an for this already, see issue #94.

After some investigation, I figured out that the line index of a file starts at 0. That means that if you get an error that says that the issue is on line 55, that's actually on 54.

s4m0r4m4 commented 3 years ago

Looks good, thanks!