Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes.js files in develop don't have coverage #167

Open
uo289321 opened this issue Apr 25, 2024 · 3 comments
Open

Routes.js files in develop don't have coverage #167

uo289321 opened this issue Apr 25, 2024 · 3 comments
Assignees
Labels

Comments

@uo289321
Copy link
Contributor

uo289321 commented Apr 25, 2024

Even with the tests done, sonarCloud keeps saying that they have 0% coverage. Tried to change the name, still 0%. (branch develop)

@augustocristian
Copy link
Contributor

augustocristian commented Apr 27, 2024

Hi everyone!
I checked a few minutes ago and the pipeline reported good coverage.
image
Please provide me more details about the problem, but looks like something related to:
https://community.sonarsource.com/t/coverage-issues-for-typescript-lcov-could-not-resolve-file-paths/13301/6

@augustocristian
Copy link
Contributor

augustocristian commented May 1, 2024

After the group have implemented the changes suggested by @pglez82, I've been examining the local Sonar logs. Removing the relative paths resolved the warnings, but the code coverage remains lower than expected. It seems that the files are being properly indexed for analysis, as evidenced by these two examples:
Example 1
Example 2
I've suggested to activate the verbose mode until the problem would be solved.

@algarfer
Copy link
Contributor

algarfer commented May 1, 2024

Yes, I activated the debug mode on e2f394a.

Also, I have tested generating jest configuration files and changing the paths of sonar, but these don't seem to fix it at all.

I've also noticed that there are some inconsistencies in the coverage reports:

image

Further information can be found here

algarfer added a commit that referenced this issue May 1, 2024
Added an step to remove coverage report of the difunc dependencie Routes.js files in develop don't have coverage #167
algarfer added a commit that referenced this issue May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants