Closed tirtawr closed 3 years ago
I am also encountering the same thing. Unknown coverage summary.
I think its a misconfiguration on our part. Because the travis build logs is properly showing all test coverage: https://travis-ci.com/github/postmanlabs/postman-code-generators/jobs/305203146#L5015
I think I got the issue. Its an issue with nyc and the version of node.
Travis uses node version 8. I was locally using node v12.14.1.
I hence ran a docker image of node v8 and ran the tests inside it. The coverage reports are correctly shown.
Just for reference, I have opened an issue in nyc regarding the same.
Hi!
So I'm trying to get started a little bit and make a tiny POC of what I'm trying to make. One thing I noticed is that for some reason nyc is not reporting the code coverage of any of the unit tests.
For example if I run the test for
curl
by running:The output for the unit test part looks like this:
Could it be a misconfiguration on my part?
Thanks