Closed fernandortec closed 1 year ago
Try it without the pipe to coveralls. No need to send the coverage data when reading locally, right?
@jmcdo29 When I do that, it works, but the index.html in the coverage folder has no available data on the tests
Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.
Is there an existing issue for this?
Current behavior
I have made all the necessary steps to run the app according to the
CONTRIBUTING.md
file. But when I try to runnpm run coverage
to look at the coverage report that it generates, I receive an error:`
[error] "2023-04-27T22:09:04.121Z" 'error from lcovParse: ' 'Failed to parse string' [error] "2023-04-27T22:09:04.123Z" 'input: ' '' [error] "2023-04-27T22:09:04.123Z" 'error from convertLcovToCoveralls'
/Users/fernandortec/Desktop/coding/study-projects/nest/node_modules/coveralls/bin/coveralls.js:19 throw err; ^ Failed to parse the string (Use
node --trace-uncaught ...
to show where the exception was thrown) `I looked at the line of code inside node_modules that was throwing the error and apparently, the input coveralls receives is empty, however, I have no idea where this input should come from
Minimum reproduction code
https://github.com/nestjs/nest
Steps to reproduce
npm ci
sh scripts/prepare.sh
npm run build
sh scripts/run-integration.sh
npm run coverage
Expected behavior
When I run the coverage script, it should generate a coverage report so that I can see the test information on the project
Package
Other package
nyc, coveralls
NestJS version
No response
Packages versions
Node.js version
16.14.2
In which operating systems have you tested?
Other
No response