After updating to the latest typescript 5.5.3, the coverageDirectory field cannot be found in jest.config.ts resulting in no lcov paths included and 0% test coverage report.
They suggest a workaround in the mean time, I tested in the reproduction stackblitz provided and it seems to be working.
Let me know if you need anything else.
If applicable, please provide the Nx report
No response
Please provide the exception or error you saw
Skipping redacted-api as it does not have a coverageDirectory in /workspace/apps/redacted-api/jest.config.ts
Skipping redacted as it does not have a coverageDirectory in /workspace/apps/redacted/jest.config.ts
Skipping quality gate check
Included sources paths: apps/redacted-api/src,apps/redacted/src
Included lcov paths:
Other information
No response
I would be willing to submit a PR to fix this issue
If possible, please provide a reproduction repository you discovered this bug in.
https://stackblitz.com/edit/stackblitz-starters-b9kfqj?file=index.ts
Which area/package is the issue in?
@koliveira15/nx-sonarqube
Description
After updating to the latest typescript 5.5.3, the
coverageDirectory
field cannot be found injest.config.ts
resulting in no lcov paths included and 0% test coverage report.I tracked it down to the
@phenomnomnominal/tsquery
dependency and opened an issue on the repo https://github.com/phenomnomnominal/tsquery/issues/98They suggest a workaround in the mean time, I tested in the reproduction stackblitz provided and it seems to be working.
Let me know if you need anything else.
If applicable, please provide the Nx report
No response
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue