You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The README.md file states that the default outputDirectory setting is the project root directory, but code demonstrates that it will default to the Jest coverageDirectory setting. It is a good thing that it does default to coverageDirectory, this allows me to configure the coverageDirectory in my CI build pipeline and everything works great and ends up in the right place!
To Reproduce
Steps to reproduce the behavior:
Set up the jest-sonar reporter. Do NOT configure the outputDirectory setting.
Configure the coverageDirectory to something far away from the project such as C:\test-results
Run jest tests
Look for the output file in coverageDirectory
Expected behavior
PLEASE DON'T CHANGE THE ACTUAL BEHAVIOR! It is useful as-is. Just update the docs so users are not confused.
Desktop (please complete the following information):
Describe the bug
The README.md file states that the default outputDirectory setting is the project root directory, but code demonstrates that it will default to the Jest coverageDirectory setting. It is a good thing that it does default to coverageDirectory, this allows me to configure the coverageDirectory in my CI build pipeline and everything works great and ends up in the right place!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
PLEASE DON'T CHANGE THE ACTUAL BEHAVIOR! It is useful as-is. Just update the docs so users are not confused.
Desktop (please complete the following information):
Additional context
Just a documentation update. I noticed how the code behaves by looking at https://github.com/sh33dafi/jest-sonar/blob/master/src/jest-sonar.js line 43.
The text was updated successfully, but these errors were encountered: