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

Discovered tests are from another project #92

Closed andresbm05 closed 4 years ago

andresbm05 commented 4 years ago

When I installed this extension I had two VSCode editors opened each with a different project (let's call it Project A and Project B).

I installed this extension in Project A and clicked the reload button, but now in every project I open when I go to the Test Explorer panel it always shows the Project B tests. Even though projects are not in the same directory it allways discover tests of Project B instead of the project I opened.

To give more information, if I click on the "go to file" button in any test, it tries to open the file of the Project B but from the root of the project I have opened which causes an error.

andresbm05 commented 4 years ago

I have solved the problem.

For anyone having this issue, I uninstalled this extension and deleted the folder in ".../[USER_FOLDER]/.vscode/extensions/raagh.angular-karma-test-explorer-1.2.5". Then rebooted my PC and installed the extension again and it worked fine